Skip to content

Instantly share code, notes, and snippets.

@thilohuellmann
Created July 17, 2018 14:20
Show Gist options
  • Save thilohuellmann/9d48ac2fb9a89c7f77a88c196dcc86fb to your computer and use it in GitHub Desktop.
Save thilohuellmann/9d48ac2fb9a89c7f77a88c196dcc86fb to your computer and use it in GitHub Desktop.
for result in json_file['webPages']['value']:
title = result['name']
if name.lower() in title.lower(): # checks if the name appears in the title
if 'linkedin.com/in/' in result['displayUrl']: # checks if the search result URL is a LI profile
linkedin.append([name, company, result['displayUrl']])
break
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment