mirror of https://github.com/Bunsly/JobSpy
FIX: Allow Indeed search term with complex syntax (#139)
parent
bf73c061bd
commit
dcd7144318
|
@ -90,10 +90,11 @@ class IndeedScraper(Scraper):
|
|||
jobs = []
|
||||
new_cursor = None
|
||||
filters = self._build_filters()
|
||||
search_term = self.scraper_input.search_term.replace('"', '\\"') if self.scraper_input.search_term else ""
|
||||
query = self.job_search_query.format(
|
||||
what=(
|
||||
f'what: "{self.scraper_input.search_term}"'
|
||||
if self.scraper_input.search_term
|
||||
f'what: "{search_term}"'
|
||||
if search_term
|
||||
else ""
|
||||
),
|
||||
location=(
|
||||
|
|
Loading…
Reference in New Issue