Skip to content

Commit

Permalink
Fix failing exit node retry test
Browse files Browse the repository at this point in the history
The urllib3 retries.history wasn't working anyways
  • Loading branch information
user234683 committed Feb 16, 2022
1 parent 8a75c71 commit c478ba8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions youtube/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,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)
Expand Down

0 comments on commit c478ba8

Please sign in to comment.