mirror of https://github.com/Bunsly/JobSpy
parent
e3fc222eb5
commit
93223b6a38
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "python-jobspy"
|
||||
version = "1.1.22"
|
||||
version = "1.1.23"
|
||||
description = "Job scraper for LinkedIn, Indeed & ZipRecruiter"
|
||||
authors = ["Zachary Hampton <zachary@bunsly.com>", "Cullen Watson <cullen@bunsly.com>"]
|
||||
homepage = "https://github.com/Bunsly/JobSpy"
|
||||
|
|
|
@ -47,7 +47,8 @@ def create_session(proxy: dict | None = None, is_tls: bool = True):
|
|||
else:
|
||||
session = requests.Session()
|
||||
session.allow_redirects = True
|
||||
session.proxies.update(proxy)
|
||||
if proxy:
|
||||
session.proxies.update(proxy)
|
||||
|
||||
return session
|
||||
|
||||
|
|
Loading…
Reference in New Issue