You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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()
7 years ago
..
downloader [turner] fix downloading of secure hls formats using ffmpeg(closes #11358)(closes #11373)(closes #11800) 7 years ago
extractor [googledrive] Fix extraction on Python 3.6 7 years ago
postprocessor Fix "invalid escape sequences" error on Python 3.6 7 years ago
YoutubeDL.py New parameter --playlist-random to randomize playlist download order. Fixes #11889 7 years ago
__init__.py New parameter --playlist-random to randomize playlist download order. Fixes #11889 7 years ago
__main__.py
aes.py Update coding style after pycodestyle 2.1.0 8 years ago
cache.py
compat.py [compat] add compat_etree_register_namespace to __all__ list 7 years ago
jsinterp.py [youtube] Fix extraction (closes #11663, #11664) 7 years ago
options.py New parameter --playlist-random to randomize playlist download order. Fixes #11889 7 years ago
socks.py [socks] Refine exception model for better error handling 8 years ago
swfinterp.py Update coding style after pycodestyle 2.1.0 8 years ago
update.py
utils.py [utils] Improve comments processing in js_to_json (closes #11947) 7 years ago
version.py release 2017.02.04.1 7 years ago