fix(indeed): readd param

This commit is contained in:
Cullen
2024-03-11 21:23:20 -05:00
parent 0d150d519f
commit 3e93454738
4 changed files with 12 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ def scrape_jobs(
) -> pd.DataFrame:
"""
Simultaneously scrapes job data from multiple job sites.
:return: results_wanted: pandas dataframe containing job data
:return: pandas dataframe containing job data
"""
SCRAPER_MAPPING = {
Site.LINKEDIN: LinkedInScraper,

View File

@@ -150,6 +150,15 @@ class IndeedScraper(Scraper):
""".format(
start=self.scraper_input.hours_old
)
elif self.scraper_input.easy_apply:
filters_str = """
filters: {
keyword: {
field: "indeedApplyScope",
keys: ["DESKTOP"]
}
}
"""
elif self.scraper_input.job_type or self.scraper_input.is_remote:
job_type_key_mapping = {
JobType.FULL_TIME: "CF3CP",