fix(jobs): add 1 to loop counter

This commit is contained in:
Cullen Watson
2023-07-11 08:51:19 -05:00
parent a5920ddc52
commit 2a96fdc8a5
3 changed files with 14 additions and 3 deletions

View File

@@ -114,7 +114,10 @@ class ZipRecruiterScraper(Scraper):
job_url=job_url,
)
job_list.append(job_post)
if len(job_list) >= scraper_input.results_wanted:
if (
len(job_list) >= scraper_input.results_wanted
or processed_jobs >= job_count
):
break
if (