Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cullenwatson committed Oct 30, 2023
1 parent e3fc222 commit 93223b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
3 changes: 2 additions & 1 deletion src/jobspy/scrapers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 93223b6

Please sign in to comment.