Skip to content

Commit

Permalink
[youtube] Add test with '};' in tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Nov 23, 2015
1 parent a72778d commit 61f92af
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion youtube_dl/extractor/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'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',
'info_dict': {
'id': 'lsguqyKfVQg',
Expand All @@ -708,6 +708,11 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'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):
Expand Down

0 comments on commit 61f92af

Please sign in to comment.