fix(scraper): limit ZipRecruiter response to 20 jobs

pull/3/head
Cullen Watson 2023-07-08 07:21:29 -05:00
parent 4118ffab49
commit 5c6119c2cb
1 changed files with 2 additions and 0 deletions

View File

@ -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"})