youtube-dl

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

commit d3d89c325681b1f2d9dcc8d8dea3439aad570f1f
parent 8875b3d572ba37185fa632fa909bb6f9ecda8218
Author: Sergey M․ <dstftw@gmail.com>
Date:   Mon, 31 Aug 2015 02:01:13 +0600

[YoutubeDL] Encode thumbnail filename (Closes #6714)

Diffstat:
Myoutube_dl/YoutubeDL.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py @@ -2009,7 +2009,7 @@ class YoutubeDL(object): (info_dict['extractor'], info_dict['id'], thumb_display_id)) try: uf = self.urlopen(t['url']) - with open(thumb_filename, 'wb') as thumbf: + with open(encodeFilename(thumb_filename), 'wb') as thumbf: shutil.copyfileobj(uf, thumbf) self.to_screen('[%s] %s: Writing thumbnail %sto: %s' % (info_dict['extractor'], info_dict['id'], thumb_display_id, thumb_filename))