Python script for getting a user's first name and company name on LinkedIn

Status
Not open for further replies.

plottsch

Power Member
Joined
Jul 18, 2016
Messages
563
Reaction score
293
Hello, programming lads!!

I'm making a script on python to help someone with their LinkedIn networking. Does anyone know what script I should use to get the user's name and company name?

After I get that info, I want to insert into a message template and connect with them.
 
Selenium and Chromedriver to automate any browser action (log in, send message, go to URL, etc). BS4 to scrape the data.
 
I was gonna Locate elements? Requests way to go? Interested too..

Please leave me alone you can prolly figure out who I am.
 
You will have to use a browser Chromedriver or Geckdriver for Firefox, then make sure you install Selenium.
First you need to search for contacts in the search results, then you have to visit each profile navigating with selenium, there you get the name and company with XPath or CSSSelectors :)

Then you can attach easy profile data into a template also that can be spinned using this lib: https://github.com/AceLewis/spintax
Really easy just few lines of code ;)
 
Whats's the python module to detect image. Then you have to go to frame a lot now.
 
Xpath is crap. They been changing on different installs of WP

I dont think if you are 100% sure of what you are saying, but seems that you ignore the xpath functions like contains()
Also what you cant get with XPath you can always use regular expressions.
 
My same script with xpath fails unless I add exceptions. same WP different hosts.

WP hosts add different BS and now GDRP adds another variable. Much more work for existing bots.

Am I Wrong?

Whats the PIGUUI just run that on an insintance lol

FOR EACH 2 DOLLAR FOOD CARD YOU WILL GET A PIG #
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top