mirror of
https://github.com/Bunsly/JobSpy.git
synced 2026-03-04 19:44:30 -08:00
fix(scraper): limit ZipRecruiter response to 20 jobs
This commit is contained in:
@@ -65,6 +65,8 @@ class ZipRecruiterScraper(Scraper):
|
||||
delivery=Delivery(method=DeliveryEnum.URL, value=url),
|
||||
)
|
||||
job_list.append(job_post)
|
||||
if len(job_list) > 20:
|
||||
break
|
||||
|
||||
script_tag = soup.find("script", {"id": "js_variables"})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user