mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 05:07:07 -05:00 
			
		
		
		
	Ignore leading spaces (and trailing also) in all URL from url list or command line
This commit is contained in:
		@@ -4563,6 +4563,7 @@ def _real_main():
 | 
			
		||||
		except IOError:
 | 
			
		||||
			sys.exit(u'ERROR: batch file could not be read')
 | 
			
		||||
	all_urls = batchurls + args
 | 
			
		||||
	all_urls = map(lambda url: url.strip(), all_urls)
 | 
			
		||||
 | 
			
		||||
	# General configuration
 | 
			
		||||
	cookie_processor = urllib2.HTTPCookieProcessor(jar)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user