joeyism / linkedin_scraper

A library that scrapes Linkedin for user data
GNU General Public License v3.0
1.98k stars 555 forks source link

Linkedin profile Summary and Country #9

Open Aly-Reda opened 6 years ago

Aly-Reda commented 6 years ago

it will be more than helpful if linkedin_scraper scrape Summary and country

person.country

person.country=driver.find_element_by_class('pv-top-card-section__location Sans-17px-black-55%-dense mt1 inline-block').getText()

Click

driver.find_element_by_xpath('//*[@id="ember1506"]/button/span[1]').click()

person.summary

person.summary=driver.find_element_by_xpath('pv-top-card-section__location Sans-17px-black-55%-dense mt1 inline-block')).getText().strip(" \n\t\r")

joeyism commented 6 years ago

If you want to submit a pull request, I'd gladly look at it