feat(linkedin): add easy apply attr

pull/12/head
Cullen Watson 2023-08-17 15:44:52 -05:00
parent ff0213978e
commit 5701826399
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class ScraperInput(BaseModel):
distance: int = None
is_remote: bool = False
job_type: JobType = None
easy_apply: bool = None # linkedin
results_wanted: int = 15

View File

@ -52,6 +52,7 @@ class LinkedInScraper(Scraper):
if scraper_input.job_type
else None,
"pageNum": page,
"f_AL": "true" if scraper_input.easy_apply else None,
}
response = session.get(self.url, params=params, allow_redirects=True)