2019-02-27 16:24:46 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from googlesearch import search
|
|
|
|
import json
|
|
|
|
|
2019-03-20 11:39:14 +00:00
|
|
|
with open('./data/db.json') as f:
|
2019-02-27 16:24:46 +00:00
|
|
|
data = json.load(f)
|
|
|
|
|
|
|
|
for student in data['students']:
|
2019-03-18 11:01:23 +00:00
|
|
|
for url in search('site:linkedin.com intext:"HETIC" inurl:"/in/{}-{}"'.format(student['firstName'], student['lastName']), stop=1):
|
2019-02-27 16:24:46 +00:00
|
|
|
print('Linkedin profile for {} {}: {}'.format(student['firstName'], student['lastName'], url))
|
|
|
|
break
|