From 05419886deffe21f8097a718e8858eb7234eaf62 Mon Sep 17 00:00:00 2001 From: Cullen Watson Date: Mon, 12 Feb 2024 10:51:14 -0600 Subject: [PATCH] fix: job types --- src/jobspy/scrapers/ziprecruiter/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/jobspy/scrapers/ziprecruiter/__init__.py b/src/jobspy/scrapers/ziprecruiter/__init__.py index 504542f..fd7f25a 100644 --- a/src/jobspy/scrapers/ziprecruiter/__init__.py +++ b/src/jobspy/scrapers/ziprecruiter/__init__.py @@ -165,7 +165,6 @@ def add_params(scraper_input) -> dict[str, str | Any]: if scraper_input.hours_old: fromage = max(scraper_input.hours_old // 24, 1) if scraper_input.hours_old else None params['days'] = fromage - job_type_value = None job_type_map = { JobType.FULL_TIME: 'full_time', JobType.PART_TIME: 'part_time' @@ -174,15 +173,8 @@ def add_params(scraper_input) -> dict[str, str | Any]: params['employment_type'] = job_type_map[scraper_input.job_type] if scraper_input.job_type in job_type_map else scraper_input.job_type.value[0] if scraper_input.easy_apply: params['zipapply'] = 1 - - if job_type_value: - params[ - "empl" - ] = f"employment_type:employment_type:{job_type_value}" - if scraper_input.is_remote: params["remote"] = 1 - if scraper_input.distance: params["radius"] = scraper_input.distance