]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[extractor/generic] Add test for svt embed
authorSergey M․ <dstftw@gmail.com>
Fri, 8 May 2015 18:27:37 +0000 (00:27 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 8 May 2015 18:27:37 +0000 (00:27 +0600)
youtube_dl/extractor/generic.py

index 046bcb0f040531d55f86a2dbe72e541f8a24d039..7c38bce7c2d8c7be1547419027d229a2f9582a6d 100644 (file)
@@ -659,6 +659,17 @@ class GenericIE(InfoExtractor):
                 'title': 'Facebook Creates "On This Day" | Crunch Report',
             },
         },
+        # SVT embed
+        {
+            'url': 'http://www.svt.se/sport/ishockey/jagr-tacklar-giroux-under-intervjun',
+            'info_dict': {
+                'id': '2900353',
+                'ext': 'flv',
+                'title': 'Här trycker Jagr till Giroux (under SVT-intervjun)',
+                'duration': 27,
+                'age_limit': 0,
+            },
+        },
         # RSS feed with enclosure
         {
             'url': 'http://podcastfeeds.nbcnews.com/audio/podcast/MSNBC-MADDOW-NETCAST-M4V.xml',