youtube-dl/youtube_dl
Yen Chi Hsuan e4e50f60b1
[googledrive] Fix extraction on Python 3.6
Since Python 3.6, invalid escape sequences are deprecated. It's likely
that there are invalid escape sequences somewhere on the webpage, so
instead of unescaping the whole webpage, just unescape the URL.

See https://bugs.python.org/issue27364. That change was designed for
string literals, while it affects the 'unicode_escape' encoding as well.
The code path is:

str.decode('unicode_escape')
    codecs.unicode_escape_decode()
        PyUnicode_DecodeUnicodeEscape()
2017-02-05 21:41:08 +08:00
..
downloader [turner] fix downloading of secure hls formats using ffmpeg(closes #11358)(closes #11373)(closes #11800) 2017-02-04 15:23:46 +01:00
extractor [googledrive] Fix extraction on Python 3.6 2017-02-05 21:41:08 +08:00
postprocessor Fix "invalid escape sequences" error on Python 3.6 2017-01-06 00:58:56 +08:00
__init__.py New parameter --playlist-random to randomize playlist download order. Fixes #11889 2017-01-31 10:03:31 +01:00
__main__.py [refactor] Single quotes consistency 2016-02-14 15:37:17 +06:00
aes.py Update coding style after pycodestyle 2.1.0 2016-11-17 19:45:42 +08:00
cache.py
compat.py [compat] add compat_etree_register_namespace to __all__ list 2017-02-01 20:15:59 +01:00
jsinterp.py [youtube] Fix extraction (closes #11663, #11664) 2017-01-10 21:25:29 +07:00
options.py New parameter --playlist-random to randomize playlist download order. Fixes #11889 2017-01-31 10:03:31 +01:00
socks.py [socks] Refine exception model for better error handling 2016-12-05 00:43:37 +08:00
swfinterp.py Update coding style after pycodestyle 2.1.0 2016-11-17 19:45:42 +08:00
update.py [update] Fix youtube-dl.exe updating from arbitrary directory (Closes #2718) 2016-05-22 10:06:45 +06:00
utils.py [utils] Improve comments processing in js_to_json (closes #11947) 2017-02-03 03:04:33 +07:00
version.py release 2017.02.04.1 2017-02-04 23:26:39 +07:00
YoutubeDL.py New parameter --playlist-random to randomize playlist download order. Fixes #11889 2017-01-31 10:03:31 +01:00