]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[generic] Add test for sportbox embeds
authorSergey M․ <dstftw@gmail.com>
Fri, 15 May 2015 17:18:21 +0000 (23:18 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 15 May 2015 17:18:21 +0000 (23:18 +0600)
youtube_dl/extractor/generic.py

index 9230c3bb046ab7ccc518bcbf8a6003012e4c414f..610e33091431741a6e661789713d32576a2d80a4 100644 (file)
@@ -225,6 +225,37 @@ class GenericIE(InfoExtractor):
                 'skip_download': True,
             },
         },
+        # SportBox embed
+        {
+            'url': 'http://www.vestifinance.ru/articles/25753',
+            'info_dict': {
+                'id': '25753',
+                'title': 'Вести Экономика ― Прямые трансляции с Форума-выставки "Госзаказ-2013"',
+            },
+            'playlist': [{
+                'info_dict': {
+                    'id': '370908',
+                    'title': 'Госзаказ. День 3',
+                    'ext': 'mp4',
+                }
+            }, {
+                'info_dict': {
+                    'id': '370905',
+                    'title': 'Госзаказ. День 2',
+                    'ext': 'mp4',
+                }
+            }, {
+                'info_dict': {
+                    'id': '370902',
+                    'title': 'Госзаказ. День 1',
+                    'ext': 'mp4',
+                }
+            }],
+            'params': {
+                # m3u8 download
+                'skip_download': True,
+            },
+        },
         # Embedded TED video
         {
             'url': 'http://en.support.wordpress.com/videos/ted-talks/',