Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile scraping error #181

Open
yannjor opened this issue Jul 6, 2023 · 3 comments
Open

Profile scraping error #181

yannjor opened this issue Jul 6, 2023 · 3 comments

Comments

@yannjor
Copy link

yannjor commented Jul 6, 2023

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
Copy link
Author

yannjor commented Jul 6, 2023

Same issue with the company variable. It can also sometimes be undefined.

@amitbhargav0404
Copy link

LinkedIn's decision to stop allowing web scraping from their page could have influenced your decision to redesign your logo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants