diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-12-07 00:59:25 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-12-07 01:08:22 +0700 |
commit | 91dd25fe1e18aa3f617005799a8f5018a551c7dd (patch) | |
tree | acc8d1c8a0fd44daecfe7e10c4c2eb342895bea5 /youtube_dl/extractor/generic.py | |
parent | 06bf2ac20f2fb64df9f6e4cd1dba267b25effd22 (diff) |
[extractor/common] Add support for dl8-* media tags (closes #27283)
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r-- | youtube_dl/extractor/generic.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index d2ba07839..85dc1d02d 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -2466,7 +2466,9 @@ class GenericIE(InfoExtractor): # Sometimes embedded video player is hidden behind percent encoding # (e.g. https://github.com/ytdl-org/youtube-dl/issues/2448) # Unescaping the whole page allows to handle those cases in a generic way - webpage = compat_urllib_parse_unquote(webpage) + # FIXME: unescaping the whole page may break URLs, commenting out for now. + # There probably should be a second run of generic extractor on unescaped webpage. + # webpage = compat_urllib_parse_unquote(webpage) # Unescape squarespace embeds to be detected by generic extractor, # see https://github.com/ytdl-org/youtube-dl/issues/21294 |