mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[rh:requests] Add handler for requests HTTP library (#3668)
				
					
				
			Adds support for HTTPS proxies and persistent connections (keep-alive) Closes https://github.com/yt-dlp/yt-dlp/issues/1890 Resolves https://github.com/yt-dlp/yt-dlp/issues/4070 Resolves https://github.com/ytdl-org/youtube-dl/issues/32549 Resolves https://github.com/ytdl-org/youtube-dl/issues/14523 Resolves https://github.com/ytdl-org/youtube-dl/issues/13734 Authored by: coletdjnz, Grub4K, bashonly
This commit is contained in:
		
							
								
								
									
										9
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								setup.py
									
									
									
									
									
								
							| @@ -62,7 +62,14 @@ def py2exe_params(): | ||||
|             'compressed': 1, | ||||
|             'optimize': 2, | ||||
|             'dist_dir': './dist', | ||||
|             'excludes': ['Crypto', 'Cryptodome'],  # py2exe cannot import Crypto | ||||
|             'excludes': [ | ||||
|                 # py2exe cannot import Crypto | ||||
|                 'Crypto', | ||||
|                 'Cryptodome', | ||||
|                 # py2exe appears to confuse this with our socks library. | ||||
|                 # We don't use pysocks and urllib3.contrib.socks would fail to import if tried. | ||||
|                 'urllib3.contrib.socks' | ||||
|             ], | ||||
|             'dll_excludes': ['w9xpopen.exe', 'crypt32.dll'], | ||||
|             # Modules that are only imported dynamically must be added here | ||||
|             'includes': ['yt_dlp.compat._legacy', 'yt_dlp.compat._deprecated', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 coletdjnz
					coletdjnz