diff options
author | Pablo Suárez Hernández <psuarezhernandez@suse.com> | 2022-08-01 12:29:49 +0100 |
---|---|---|
committer | Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com> | 2022-09-02 10:11:29 -0400 |
commit | 0c10f3007bfd01c581f259184834c2e128c8101f (patch) | |
tree | 38e21a3038c5ccfc2a597874ef1686fddced15d8 | |
parent | 28d36387da2e8a8b5fb248183c36eff9dce5634a (diff) | |
download | urlgrabber-0c10f3007bfd01c581f259184834c2e128c8101f.tar.gz |
Avoid using system proxy when proxy set to _none_
-rw-r--r-- | urlgrabber/grabber.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py index 741234e..88237cc 100644 --- a/urlgrabber/grabber.py +++ b/urlgrabber/grabber.py @@ -996,7 +996,7 @@ class URLGrabberOptions: elif scheme == 'https': proxy = self.proxies.get('http') if proxy == '_none_': - proxy = None + proxy = '' self.proxy = proxy return |