linkedin_scraper
linkedin_scraper copied to clipboard
Profile scraping error
Getting this error when trying to fetch a person's experiences (with version 2.11.2):
venv/lib/python3.11/site-packages/linkedin_scraper/person.py", line 147, in get_experiences
times = work_times.split("·")[0].strip() if work_times else ""
^^^^^^^^^^
UnboundLocalError: cannot access local variable 'work_times' where it is not associated with a value
Same issue with the company
variable. It can also sometimes be undefined.
LinkedIn's decision to stop allowing web scraping from their page could have influenced your decision to redesign your logo.
https://www.linkedin.com/help/linkedin/answer/a1341387/prohibited-software-and-extensions?lang=en#:~:text=In%20order%20to%20protect%20our,automate%20activity%20on%20LinkedIn's%20website.