linkedin_scraper icon indicating copy to clipboard operation
linkedin_scraper copied to clipboard

Cross referencing people’s experiences

Open senecalikedmochas opened this issue 4 years ago • 5 comments

Hello! I'm fairly new to programming, so apologies if this sounds naive. Here's my question:

  • I have a 6K contacts db with LinkedIn urls,name, and experience. I would like to scrape each of their LinkedIn profiles and see if anyone has a different experience/at a different company that what I have in my db.

How can I accomplish that?

I would appreciate any suggestions.

Thank you

senecalikedmochas avatar Dec 20 '20 20:12 senecalikedmochas

I'll need to add a feature to make this happen. If you know how, you can fork this repo, add this feature, then submit a MR and I'll take a look at that

joeyism avatar Dec 21 '20 11:12 joeyism

Thanks! Do you know exactly what kind of feature and to what file (i.e Persons or Company)?

If you have a conceptual sense of what needs to be done, please lmk and I can go with that

senecalikedmochas avatar Dec 21 '20 11:12 senecalikedmochas

Let's say you start of with a user MainUser. You'll need to write code that scrapes MainUser's contacts. Submit a MR for that.

Actually, if you just want to compare it and you already have a list of Linkedin User profiles, you can iterate through the data in your DB, scrape user data with Person, and compare the url, name, and experience from Person to the dat ain your DB.

joeyism avatar Dec 22 '20 14:12 joeyism

Right your second suggestion makes sense. How can I scrape the experience of a person? I don't see a "Experience.py", so just wondering..

senecalikedmochas avatar Dec 22 '20 14:12 senecalikedmochas

https://github.com/joeyism/linkedin_scraper/blob/master/linkedin_scraper/person.py#L34

joeyism avatar Dec 27 '20 19:12 joeyism