Retrieving the employee count on LinkedIn

I am trying to retrieve the employee count from LinkedIn company page using XPathOnUrl.

The URL is in the form https://www.linkedin.com/company/Company_Name/
The Xpath I retrieved is //*[@id="biz-connectedness-top"]/div/div/ul[2]/li[2]/a

Unfortunately, XPathOnUrl(LinkedIn_company_page_URL,//*[@id="biz-connectedness-top"]/div/div/ul[2]/li[2]/a) doesn't return anything (blank cell)

Any help is appreciated!

Can you reach the company page when you are not logged in? If not, simple XPath requests won't work. This change in security is probably a result of the scraping drama a few months ago:
https://techcrunch.com/2016/08/15/linkedin-sues-scrapers/

1 Like

Thanks. Indeed I cannot access the page if not logged in.

Does anyone know an alternate option using RegexpFindOnUrl?

I found that
• XPathOnUrl(URL,"//body/div/div/div/div/div/div/p")
• XPathOnUrl(URL,"//body/div/div/div/div/div/div/div/p")

Would work for the companydescription and its specialities
PROVIDED the URL of LinkedIn company page is finishing w/ "/"

I cannot retrieve the "Employees on LinkedIn" though