mirror of
https://github.com/Bunsly/JobSpy.git
synced 2026-03-04 19:44:30 -08:00
bug fix
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user