From 47688357664c936b37feef6fc8e2653f08a679dc Mon Sep 17 00:00:00 2001 From: James Taylor Date: Tue, 15 Feb 2022 21:19:52 -0800 Subject: Fix failing exit node retry test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The urllib3 retries.history wasn't working anyways Signed-off-by: Jesús --- youtube/util.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'youtube') 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) -- cgit v1.2.3