0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00:00

Reduce socket timeout

This commit is contained in:
Philipp Hagemeister 2013-11-25 19:11:01 +01:00
parent bb2bebdbe1
commit d46cc192d7

View file

@ -968,7 +968,7 @@ def print_debug_header(self):
proxy_map.update(handler.proxies)
write_string(u'[debug] Proxy map: ' + compat_str(proxy_map) + u'\n')
def _setup_opener(self, timeout=300):
def _setup_opener(self, timeout=20):
opts_cookiefile = self.params.get('cookiefile')
opts_proxy = self.params.get('proxy')