A feature-rich command-line audio/video downloader
[YoutubeDL] Ensure bool params always present in downloader
Sergey M․4abf617b9c66
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.pyindex 982e658cea..0afda5ecb6 100755--- a/youtube_dl/YoutubeDL.py+++ b/youtube_dl/YoutubeDL.py@@ -284,7 +284,11 @@ class YoutubeDL(object):self._num_downloads = 0self._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):