yt-dlp/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
__init__.py
__main__.py
aes.py
cache.py
compat.py
jsinterp.py
options.py
socks.py
swfinterp.py
update.py
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