LinkedIn.com > Scrape Info

use on a user ID to get standard info and output to newhire.csv

Works with Lists of User IDs
Author: @webDOMinator
//Make sure you have the output file CSV closed when you run this.k
#name:Scrape Info
#title:use on a user ID to get standard info and output to newhire.csv
navigate:http://www.linkedin.com/profile?viewProfile=&key=^wd.curinfo
var:ind=dom.span.search-typeahead-container.elementindex
var:ind=var.ind+2
var:firstname=dom.span.[var:ind].innerhtml
var:ind=var.ind+1
var:lastname=dom.span.[var:ind].innerhtml
var:area=dom.a.Find users in this region.innerhtml
replacetext:var.area:Area;
var:ind=dom.a.Current.domindex
var:ind=var.ind+7
var:current=dom.[var:ind].innerhtml
if:true:var.current==at
var:ind=var.ind+1
var:current=dom.[var:ind].innerhtml
endif
striphtml:var.current
var:ind=dom.a.Past.domindex
var:ind=var.ind+7
var:past=dom.[var:ind].innerhtml
striphtml:var.past
var:ind=dom.a.Education.domindex
var:ind1=var.ind+3
var:ind2=var.ind+4
var:ind3=var.ind+5
var:education1=dom.[var:ind1].innerhtml
var:time=
var:c=1
loop:true;var.c

Commands Used

Ask

No Questions Yet

Be the first to ask!

Log in

Create an Account

Fill in the fields below to create your webDOMinator account. We don't spam and we don't give away any of your information

Create webDOMbot.com Community Profile
I agree to the webDOMinator Terms of Service.
Your personal information is kept private. Privacy Policy