mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	Reduce socket timeout
This commit is contained in:
		| @@ -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=300): | ||||
|     def _setup_opener(self, timeout=20): | ||||
|         opts_cookiefile = self.params.get('cookiefile') | ||||
|         opts_proxy = self.params.get('proxy') | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister