[fix] indeed - min & max values swapped

pull/54/head
Cullen Watson 2023-10-03 09:21:15 -05:00
parent 2e59ab03e3
commit 3f122a3173
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "python-jobspy" name = "python-jobspy"
version = "1.1.11" version = "1.1.12"
description = "Job scraper for LinkedIn, Indeed & ZipRecruiter" description = "Job scraper for LinkedIn, Indeed & ZipRecruiter"
authors = ["Zachary Hampton <zachary@zacharysproducts.com>", "Cullen Watson <cullen@cullen.ai>"] authors = ["Zachary Hampton <zachary@zacharysproducts.com>", "Cullen Watson <cullen@cullen.ai>"]
homepage = "https://github.com/cullenwatson/JobSpy" homepage = "https://github.com/cullenwatson/JobSpy"

View File

@ -133,8 +133,8 @@ class IndeedScraper(Scraper):
if interval in CompensationInterval.__members__: if interval in CompensationInterval.__members__:
compensation = Compensation( compensation = Compensation(
interval=CompensationInterval[interval], interval=CompensationInterval[interval],
min_amount=int(extracted_salary.get("max")), min_amount=int(extracted_salary.get("min")),
max_amount=int(extracted_salary.get("min")), max_amount=int(extracted_salary.get("max")),
currency=currency, currency=currency,
) )