Linkedin investigation

master
sundowndev 2019-03-18 12:01:23 +01:00
parent 648c95f538
commit 7f2d0e1a1e
1 changed files with 1 additions and 1 deletions

View File

@ -6,6 +6,6 @@ with open('../data/db.json') as f:
data = json.load(f)
for student in data['students']:
for url in search('site:linkedin.com intext:"HETIC" inurl:"/in/{}.{}"'.format(student['firstName'], student['lastName']), stop=1):
for url in search('site:linkedin.com intext:"HETIC" inurl:"/in/{}-{}"'.format(student['firstName'], student['lastName']), stop=1):
print('Linkedin profile for {} {}: {}'.format(student['firstName'], student['lastName'], url))
break