[youtube] Add test with '};' in tags
authorSergey M․ <dstftw@gmail.com>
Mon, 23 Nov 2015 15:02:37 +0000 (21:02 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 23 Nov 2015 15:02:37 +0000 (21:02 +0600)
youtube_dl/extractor/youtube.py

index 052f6922a54991f40386cdafa565092840457129..824335d0ac9bbe1743a94257b3e55d58181e2982 100644 (file)
@@ -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',
@@ -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):