youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 4abf617b9c662851889de4a3ceb5aa63040dc21e
parent 3026164b1693ef57d0712cd6eeed6ae7a79b0916
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat,  5 Sep 2015 19:17:30 +0600

[YoutubeDL] Ensure bool params always present in downloader

Diffstat:
Myoutube_dl/YoutubeDL.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py @@ -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):