From 9c65e64b3bb634b16e21da904259da0d2be7bd4d Mon Sep 17 00:00:00 2001 From: James Taylor Date: Mon, 16 Jul 2018 19:26:14 -0700 Subject: increase timeout --- youtube/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube') 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) -- cgit v1.2.3