mirror of
https://github.com/Bunsly/JobSpy.git
synced 2026-03-04 19:44:30 -08:00
feat(linkedin): add easy apply attr
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user