Bunsly / JobSpy

Jobs scraper library for LinkedIn, Indeed, Glassdoor & ZipRecruiter
https://usejobspy.com
MIT License
555 stars 109 forks source link

scrape_jobs fails if any one of the sites has no results #123

Closed Trumpet63 closed 3 months ago

Trumpet63 commented 3 months ago

I ran a search for "data scientist", 24 hours old, 40 results wanted, across all four sites and it gave me a "IndeedException: Could not find any results for the search", which presumably means it failed to find any results on Indeed. I then removed Indeed from the site_name list and it worked without issue.

I think it'd be better if it didn't fail in this case, since it will find at least some results, but maybe that's intended behavior?

cullenwatson commented 3 months ago

We have that fixed I believe.

Do you have latest version?

pip install -U python-jobspy

Let me know if that fixes

Trumpet63 commented 3 months ago

Ah yes, it looks like you addressed this in #118.

My best guess at trying to check if it's fixed was putting in random junk as the search term, and well, yeah, no exception! So I'm pretty sure you fixed it.

I'm 2 for 2 now on opening useless issues. My apologies.