]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[ard] Add test for rbb-online
authorSergey M․ <dstftw@gmail.com>
Sun, 17 Jul 2016 19:25:31 +0000 (02:25 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 17 Jul 2016 19:25:31 +0000 (02:25 +0700)
youtube_dl/extractor/ard.py

index 91c78887aac9b39beb3c61575073e4a4eaf15c67..c15cf1575fa63eb903e6f79146fecb1843b02454 100644 (file)
@@ -62,6 +62,17 @@ class ARDMediathekIE(InfoExtractor):
     }, {
         'url': 'http://mediathek.daserste.de/sendungen_a-z/328454_anne-will/22429276_vertrauen-ist-gut-spionieren-ist-besser-geht',
         'only_matching': True,
+    }, {
+        # audio
+        'url': 'http://mediathek.rbb-online.de/radio/Hörspiel/Vor-dem-Fest/kulturradio/Audio?documentId=30796318&topRessort=radio&bcastId=9839158',
+        'md5': '4e8f00631aac0395fee17368ac0e9867',
+        'info_dict': {
+            'id': '30796318',
+            'ext': 'mp3',
+            'title': 'Vor dem Fest',
+            'description': 'md5:c0c1c8048514deaed2a73b3a60eecacb',
+            'duration': 3287,
+        },
     }]
 
     def _extract_media_info(self, media_info_url, webpage, video_id):