Commit Graph

12 Commits (35544690e4f4fb1b8184e57d9c6c54fe893e6a3b)

Author SHA1 Message Date
Sergey M․ 9be9ec5980
[googledrive] Fix formats' sorting (closes #13443) 7 years ago
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()
8 years ago
Sergey M․ 58e6d097d8 [googledrive] Relax _VALID_URL (Closes #8829) 9 years ago
Sergey M․ d69abbd3f0 [googledrive] Make thumbnail optional (Closes #8629) 9 years ago
remitamine 5b251628e9 [googledrive] Modernize 9 years ago
remitamine 8e92d21ebf [googledrive] raise ExtractorError instead of warning 9 years ago
remitamine 36dbca8784 fix recursive error 9 years ago
remitamine d1cc05e17e remove unnecessary regex group names 9 years ago
remitamine 3b3d531965 fix embed regex 9 years ago
remitamine 3e5f3df172 move the embed to a separate class 9 years ago
remitamine f120a7ab5e change the _TEST info 9 years ago
remitamine 984e4d4875 [googledrive] Add new extractor 9 years ago