aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-07-18 02:25:31 +0700
committerSergey M․ <dstftw@gmail.com>2016-07-18 02:25:31 +0700
commita66a73ee905cb1ef9cc63c86d68f5b87cbfe2582 (patch)
treec957c1d415528f16be44ab3ff49cc78f477f21f9
parent8188b923db3f1e491ec128fe65a0ed380f1e6a04 (diff)
downloadyoutube-dl-a66a73ee905cb1ef9cc63c86d68f5b87cbfe2582.zip
youtube-dl-a66a73ee905cb1ef9cc63c86d68f5b87cbfe2582.tar.gz
youtube-dl-a66a73ee905cb1ef9cc63c86d68f5b87cbfe2582.tar.bz2
[ard] Add test for rbb-online
-rw-r--r--youtube_dl/extractor/ard.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/youtube_dl/extractor/ard.py b/youtube_dl/extractor/ard.py
index 91c7888..c15cf15 100644
--- a/youtube_dl/extractor/ard.py
+++ b/youtube_dl/extractor/ard.py
@@ -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):