wouldjaball 5 Posted June 3, 2014 Report Share Posted June 3, 2014 (edited) Hey all,Quick question. How would you go about scraping all of your linkedIn Id's from your connections tab in Linked In? linkedin.com/contacts/view?id=16014436&trk=contacts-contacts-list-contact_name-0 I want to grab the number(XXXXX) in between ?id= XXXXX & How would you do this? Innerhtml? SCrape attribute or Scrape Page? Thanks for any help! Edited June 3, 2014 by wouldjaball Quote Link to post Share on other sites
UBotDev 276 Posted June 4, 2014 Report Share Posted June 4, 2014 You would actually scrape scrape attribute...<href=w"*linkedin.com/contacts/view?id=*"> and extract if via regex like: find regular expression...(?<=id=)\d+ 1 Quote Link to post Share on other sites
wouldjaball 5 Posted June 4, 2014 Author Report Share Posted June 4, 2014 Thanks ubotdev,Not sure what I'm doing wrong...Scraping attribute. tried just the href with wildcards and didn't see any results. Little help?http://screencast.com/t/f066h14RaInn Quote Link to post Share on other sites
wouldjaball 5 Posted June 4, 2014 Author Report Share Posted June 4, 2014 Bueller?.... Bueller? Quote Link to post Share on other sites
UBotDev 276 Posted June 5, 2014 Report Share Posted June 5, 2014 Thanks ubotdev,Not sure what I'm doing wrong...Scraping attribute. tried just the href with wildcards and didn't see any results. Little help?http://screencast.com/t/f066h14RaInnYou don't need regular expression when scraping...you should use the UBot advanced selector provided above for that. Then the next step is to use "$find regular expression" to extract the id from scraped url. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.