feat(jobs): add distance param

This commit is contained in:
Cullen Watson
2023-07-10 16:14:05 -05:00
parent 6269479955
commit 75763d6123
5 changed files with 14 additions and 3 deletions

View File

@@ -26,6 +26,7 @@ class IndeedScraper(Scraper):
"l": scraper_input.location,
"filter": 0,
"start": 0 if scraper_input.page is None else (scraper_input.page - 1) * 10,
"radius": scraper_input.distance,
}
response = session.get(self.url, params=params)