mirror of https://github.com/Bunsly/JobSpy
feat(linkedin): add easy apply attr
parent
ff0213978e
commit
5701826399
|
@ -20,6 +20,7 @@ class ScraperInput(BaseModel):
|
||||||
distance: int = None
|
distance: int = None
|
||||||
is_remote: bool = False
|
is_remote: bool = False
|
||||||
job_type: JobType = None
|
job_type: JobType = None
|
||||||
|
easy_apply: bool = None # linkedin
|
||||||
|
|
||||||
results_wanted: int = 15
|
results_wanted: int = 15
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,7 @@ class LinkedInScraper(Scraper):
|
||||||
if scraper_input.job_type
|
if scraper_input.job_type
|
||||||
else None,
|
else None,
|
||||||
"pageNum": page,
|
"pageNum": page,
|
||||||
|
"f_AL": "true" if scraper_input.easy_apply else None,
|
||||||
}
|
}
|
||||||
|
|
||||||
response = session.get(self.url, params=params, allow_redirects=True)
|
response = session.get(self.url, params=params, allow_redirects=True)
|
||||||
|
|
Loading…
Reference in New Issue