mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:57:07 -05:00 
			
		
		
		
	[YoutubeDL] Ensure bool params always present in downloader
This commit is contained in:
		@@ -284,7 +284,11 @@ class YoutubeDL(object):
 | 
			
		||||
        self._num_downloads = 0
 | 
			
		||||
        self._screen_file = [sys.stdout, sys.stderr][params.get('logtostderr', False)]
 | 
			
		||||
        self._err_file = sys.stderr
 | 
			
		||||
        self.params = params
 | 
			
		||||
        self.params = {
 | 
			
		||||
            # Default parameters
 | 
			
		||||
            'nocheckcertificate': False,
 | 
			
		||||
        }
 | 
			
		||||
        self.params.update(params)
 | 
			
		||||
        self.cache = Cache(self)
 | 
			
		||||
 | 
			
		||||
        if params.get('bidi_workaround', False):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user