mirror of https://github.com/Bunsly/JobSpy
remove manipulation for country
parent
9032949c0c
commit
cad0ad94b3
|
@ -53,16 +53,16 @@ class TelegramDefaultHandler(TelegramHandler):
|
|||
|
||||
site_names = [site.name for site in self.sites_to_scrap]
|
||||
site_names_print = ", ".join(site_names)
|
||||
locations = [location + ", Israel" for location in user.cities]
|
||||
# locations = [location + ", Israel" for location in user.cities]
|
||||
await self.telegram_bot.send_text(chat_id,
|
||||
f"Start scarping: {site_names_print}")
|
||||
filtered_out_jobs, jobs = scrape_jobs(
|
||||
site_name=self.sites_to_scrap,
|
||||
user=user,
|
||||
search_term=user.position.value,
|
||||
locations=locations,
|
||||
locations=user.cities,
|
||||
results_wanted=200,
|
||||
hours_old=48,
|
||||
hours_old=int(user.job_age),
|
||||
filter_by_title=user.title_filters,
|
||||
country_indeed='israel'
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue