aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-07-16 19:26:14 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-07-16 19:26:14 -0700
commit9c65e64b3bb634b16e21da904259da0d2be7bd4d (patch)
tree9f8fb9190bffaed9964e5d46e5d955a5a568953c /youtube
parent6f47d7e6531b40e5f0162a7c95d940575055684d (diff)
downloadyt-local-9c65e64b3bb634b16e21da904259da0d2be7bd4d.tar.lz
yt-local-9c65e64b3bb634b16e21da904259da0d2be7bd4d.tar.xz
yt-local-9c65e64b3bb634b16e21da904259da0d2be7bd4d.zip
increase timeout
Diffstat (limited to 'youtube')
-rw-r--r--youtube/common.py2
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)