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

Issue with LinkedIn Scraper searching UK, issue seems to be with 'Isle of Man' #235

Open
johndolan29 opened this issue Jan 18, 2025 · 0 comments

Comments

@johndolan29
Copy link

Traceback (most recent call last):
File "/home/pi/job_search/venv/lib/python3.11/site-packages/jobspy/scrapers/linkedin/init.py", line 155, in scrape
job_post = self._process_job(job_card, job_id, fetch_desc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/job_search/venv/lib/python3.11/site-packages/jobspy/scrapers/linkedin/init.py", line 202, in _process_job
location = self._get_location(metadata_card)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/job_search/venv/lib/python3.11/site-packages/jobspy/scrapers/linkedin/init.py", line 315, in _get_location
country = Country.from_string(country)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/job_search/venv/lib/python3.11/site-packages/jobspy/jobs/init.py", line 166, in from_string
raise ValueError(
ValueError: Invalid country string: 'isle of man'. Valid countries are: argentina, australia, austria, bahrain, belgium, brazil, canada, chile, china, colombia, costa rica, czech republic,czechia, denmark, ecuador, egypt, finland, france, germany, greece, hong kong, hungary, india, indonesia, ireland, israel, italy, japan, kuwait, luxembourg, malaysia, malta, mexico, morocco, netherlands, new zealand, nigeria, norway, oman, pakistan, panama, peru, philippines, poland, portugal, qatar, romania, saudi arabia, singapore, south africa, south korea, spain, sweden, switzerland, taiwan, thailand, türkiye,turkey, ukraine, united arab emirates, uk,united kingdom, usa,us,united states, uruguay, venezuela, vietnam, usa/ca, worldwide

@johndolan29 johndolan29 changed the title Issue with LinkedIn Scraper searching 'Isle of Man' Issue with LinkedIn Scraper searching UK, issue seems to be with 'Isle of Man' Jan 18, 2025
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

1 participant