mirror of https://github.com/Bunsly/JobSpy
fix(scraper): limit ZipRecruiter response to 20 jobs
parent
9c5efd6fe1
commit
97bb82c089
|
@ -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"})
|
||||
|
||||
|
|
Loading…
Reference in New Issue