mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[youtube] Add test with '};' in tags
This commit is contained in:
parent
a72778d364
commit
61f92af1cf
1 changed files with 6 additions and 1 deletions
|
@ -693,7 +693,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
# Title with JS-like syntax "};"
|
# Title with JS-like syntax "};" (see https://github.com/rg3/youtube-dl/issues/7468)
|
||||||
'url': 'https://www.youtube.com/watch?v=lsguqyKfVQg',
|
'url': 'https://www.youtube.com/watch?v=lsguqyKfVQg',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'lsguqyKfVQg',
|
'id': 'lsguqyKfVQg',
|
||||||
|
@ -708,6 +708,11 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
# Tags with '};' (see https://github.com/rg3/youtube-dl/issues/7468)
|
||||||
|
'url': 'https://www.youtube.com/watch?v=Ms7iBXnlUO8',
|
||||||
|
'only_matching': True,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
|
Loading…
Reference in a new issue