]> gitweb @ CieloNegro.org - youtube-dl.git/commit
Generic: use compat_urllib_parse_unquote to prevent utf8 mangling
authorfnord <fnord@fnord.mobi>
Wed, 15 Jul 2015 20:30:47 +0000 (15:30 -0500)
committerfnord <fnord@fnord.mobi>
Wed, 15 Jul 2015 20:30:47 +0000 (15:30 -0500)
commit45eedbe58c8ab6344f11f1e1376d01648c1967ee
tree468983971a312d4f01c0f83bf224212b2009d911
parente37c932fca29d93af77b7a47cccc9bb8578e3163
Generic: use compat_urllib_parse_unquote to prevent utf8 mangling
of the entire page in python 2.

-requires- fixed compat_urllib_parse_unquote

example - the following will save with a mangled playlist title,
 instead of the kanji for 'tsunami'. This affects all utf8encoded
 urls as well

youtube-dl -f18 -o '%(playlist_title)s-%(title)s.%(ext)s' \
  https://gist.githubusercontent.com/atomicdryad/fcb97465e6060fc519e1/raw/61c14c1e3a4985471dcf56c281d24d7e781a4e0e/tsunami.html
youtube_dl/extractor/generic.py