[youtube] Add test for #8536
authorSergey M․ <dstftw@gmail.com>
Fri, 12 Feb 2016 23:18:58 +0000 (05:18 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 12 Feb 2016 23:18:58 +0000 (05:18 +0600)
youtube_dl/extractor/youtube.py

index 97d6219072d988e5ed16ad0277e18e69144fc7d6..18f7d37f44986f40812b0a1255d928caa8a6acf0 100644 (file)
@@ -704,6 +704,15 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
                 'skip_download': True,
             },
         },
+        {
+            # Multifeed video with comma in title (see https://github.com/rg3/youtube-dl/issues/8536)
+            'url': 'https://www.youtube.com/watch?v=gVfLd0zydlo',
+            'info_dict': {
+                'id': 'gVfLd0zydlo',
+                'title': 'DevConf.cz 2016 Day 2 Workshops 1 14:00 - 15:30',
+            },
+            'playlist_count': 2,
+        },
         {
             'url': 'http://vid.plus/FlRa-iH7PGw',
             'only_matching': True,