Linkedin investigation

master
sundowndev 2019-02-27 17:24:46 +01:00
parent 28dc442dc5
commit 1a9e0c9d66
3 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
from googlesearch import search
import json
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):
print('Linkedin profile for {} {}: {}'.format(student['firstName'], student['lastName'], url))
break

View File

@ -1,2 +1,3 @@
dash
pandas
pandas
googlesearch