Open aradzekler opened 3 years ago
Do you have code on how you're trying to do it?
same as the latest fork, the company line itself is:
company = Company(row['linkedin_profile_generic'], driver=self.driver,
close_on_complete=False, get_employees=True)
input_df.at[0, 'employees'] = company.employees
outputs: [None, None]
I ran this code
import os
from linkedin_scraper import Person, Company, actions
from selenium import webdriver
driver = webdriver.Chrome("./chromedriver")
actions.login(driver, os.getenv("LINKEDIN_USER"), os.getenv("LINKEDIN_PASSWORD"))
company = Company("https://www.linkedin.com/company/pinnacle-west-capital-corporation/", get_employees=True, driver=driver)
print(company)
then when I ran
len(company.employees)
I get
I get a list the size of the company employees but the list contains only None's
Some of them may be None if it can't scrape it, but there are definitely some there.
The details aren't filled out because this is scrapped just from the company's employees list, which doesn't contain much info. If you want to get more details, you'll have to loop over the employees and scrape each one.
When I scrape each person separately I get a result like your image over there with all fields as empty lists. Any ideas how to fix this?
No error or anything, just doesnt seem to work on employees, anyone succedded in scraping employees from company?