diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-07-16 19:26:14 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-07-16 19:26:14 -0700 |
commit | 9c65e64b3bb634b16e21da904259da0d2be7bd4d (patch) | |
tree | 9f8fb9190bffaed9964e5d46e5d955a5a568953c | |
parent | 6f47d7e6531b40e5f0162a7c95d940575055684d (diff) | |
download | yt-local-9c65e64b3bb634b16e21da904259da0d2be7bd4d.tar.lz yt-local-9c65e64b3bb634b16e21da904259da0d2be7bd4d.tar.xz yt-local-9c65e64b3bb634b16e21da904259da0d2be7bd4d.zip |
increase timeout
-rw-r--r-- | youtube/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/common.py b/youtube/common.py index f1dc840..1eeeb61 100644 --- a/youtube/common.py +++ b/youtube/common.py @@ -138,7 +138,7 @@ medium_channel_item_template = Template(''' ''') -def fetch_url(url, headers=(), timeout=5, report_text=None): +def fetch_url(url, headers=(), timeout=15, report_text=None): if isinstance(headers, list): headers += [('Accept-Encoding', 'gzip, br')] headers = dict(headers) |