pull/66/head v1.1.23
Cullen Watson 2023-10-30 13:57:23 -05:00
parent e3fc222eb5
commit 93223b6a38
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -47,7 +47,8 @@ def create_session(proxy: dict | None = None, is_tls: bool = True):
else: else:
session = requests.Session() session = requests.Session()
session.allow_redirects = True session.allow_redirects = True
session.proxies.update(proxy) if proxy:
session.proxies.update(proxy)
return session return session