Profile scraping error
yannjor opened this issue · 3 comments
yannjor commented
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
yannjor commented
Same issue with the company
variable. It can also sometimes be undefined.
amitbhargav0404 commented