From 7f2d0e1a1eb15802b01bcb80e9f3f82cda710c29 Mon Sep 17 00:00:00 2001 From: sundowndev Date: Mon, 18 Mar 2019 12:01:23 +0100 Subject: [PATCH] Linkedin investigation --- scripts/linkedin_investigation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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