aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2022-02-15 21:19:52 -0800
committerJesús <heckyel@hyperbola.info>2022-02-16 11:46:15 -0500
commit47688357664c936b37feef6fc8e2653f08a679dc (patch)
tree50cd712df326ab270db3023b4b95ac77c4540f42 /youtube
parent3f4db4199c9d45f3c8f5137feea38d40654d0356 (diff)
downloadyt-local-47688357664c936b37feef6fc8e2653f08a679dc.tar.lz
yt-local-47688357664c936b37feef6fc8e2653f08a679dc.tar.xz
yt-local-47688357664c936b37feef6fc8e2653f08a679dc.zip
Fix failing exit node retry test
The urllib3 retries.history wasn't working anyways Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube')
-rw-r--r--youtube/util.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube/util.py b/youtube/util.py
index be600bf..6ee9fcd 100644
--- a/youtube/util.py
+++ b/youtube/util.py
@@ -336,8 +336,7 @@ def fetch_url(url, headers=(), timeout=15, report_text=None, data=None,
)
)
):
- print(response.status, response.reason, response.retries.history,
- response.getheaders())
+ print(response.status, response.reason, response.getheaders())
ip = re.search(
br'IP address: ((?:[\da-f]*:)+[\da-f]+|(?:\d+\.)+\d+)',
content)