projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb2bebd
)
Reduce socket timeout
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 25 Nov 2013 18:11:01 +0000
(19:11 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 25 Nov 2013 18:11:01 +0000
(19:11 +0100)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index a1ef3a94ab501f75316e1c4e6b758bfc598e0445..0cef1daf328837c3d2a62af36a629247d2563ec9 100644
(file)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-968,7
+968,7
@@
class YoutubeDL(object):
proxy_map.update(handler.proxies)
write_string(u'[debug] Proxy map: ' + compat_str(proxy_map) + u'\n')
- def _setup_opener(self, timeout=
30
0):
+ def _setup_opener(self, timeout=
2
0):
opts_cookiefile = self.params.get('cookiefile')
opts_proxy = self.params.get('proxy')