Commit Graph

12 Commits (97b6e3011370a851b942bca144afb7cb08a57f5d)

Author SHA1 Message Date
Sergey M․ 9be9ec5980
[googledrive] Fix formats' sorting (closes #13443) 8 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 10 years ago
remitamine 36dbca8784 fix recursive error 10 years ago
remitamine d1cc05e17e remove unnecessary regex group names 10 years ago
remitamine 3b3d531965 fix embed regex 10 years ago
remitamine 3e5f3df172 move the embed to a separate class 10 years ago
remitamine f120a7ab5e change the _TEST info 10 years ago
remitamine 984e4d4875 [googledrive] Add new extractor 10 years ago