diff --git a/scripts/linkedin_investigation.py b/scripts/linkedin_investigation.py index 9996018..6c57456 100644 --- a/scripts/linkedin_investigation.py +++ b/scripts/linkedin_investigation.py @@ -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 \ No newline at end of file