wpentester / linkedin_profiles Goto Github PK
View Code? Open in Web Editor NEWscrapes Linkedin for company employee profiles
License: GNU General Public License v3.0
scrapes Linkedin for company employee profiles
License: GNU General Public License v3.0
Not parsing again, I'll have to debug and fix sometime.
The HTML files are downloaded and not parsed anymore.
Hello. Firstly, thank you very much for such a great tool.
I'm trying to scrape a company with at least 1000 employees on LinkedIn for a pentest and having issues getting the script to locate the correct page. Not sure if this is an apostrophe issue or if the client I am trying this for has a name that's too similar to other companies.
I've tried the name in quotes and using \ to escape the apostrophe but still no luck. As far as I can tell from searching manually and going to Companies, it is the first on the list, but the script wants to pull the 3rd/4th result.
Do you have any advice? Or is there another way I can provide the page via URL and go directly to it?
Thank you!
PS. I'm happy to open a separate issue for this if you'd like, but this company has affiliate organizations. I've scraped two very successfully but for the third I am getting this when trying to generate emails from the HTML:
Traceback (most recent call last):
File "linkedin_profiles.py", line 258, in
main()
File "linkedin_profiles.py", line 249, in main
pp.print_employees()
File "linkedin_profiles.py", line 170, in print_employees
fname = re.sub('[^A-Za-z]+', '', fname)
UnboundLocalError: local variable 'fname' referenced before assignment
I understand the error in theory but unsure why it's popping up for this. I've referenced first.last for the email format.
I've retested the first two to be sure that I didn't mess anything up and they still seem to be fine. I can write something hacky to get through it but thought I'd try adding it in while I was opening an issue for the above. Thank you again.
LinkedIn new UI breaks this :(
Unfortunately, the files are not the latest Python version. Some packages are deprecated and need to update packages, and we can use another available box in the community. Also, add a requirement.txt file with the setup file. We can even store users' info and utilize it don't need to ask every time we run
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.