[arte.tv:ddc] Add fields to the test and skip download (rtmp)

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-12-08 16:34:57 +01:00
parent 5adb818947
commit ac5118bcb9
1 changed files with 7 additions and 0 deletions

View File

@ -261,6 +261,7 @@ class ArteTVFutureIE(ArteTVPlus7IE):
row = get_element_by_id(anchor_id, webpage) row = get_element_by_id(anchor_id, webpage)
return self._extract_from_webpage(row, anchor_id, lang) return self._extract_from_webpage(row, anchor_id, lang)
class ArteTVDDCIE(ArteTVPlus7IE): class ArteTVDDCIE(ArteTVPlus7IE):
IE_NAME = u'arte.tv:ddc' IE_NAME = u'arte.tv:ddc'
_VALID_URL = r'http?://ddc\.arte\.tv/(?P<lang>emission|folge)/(?P<id>.+)' _VALID_URL = r'http?://ddc\.arte\.tv/(?P<lang>emission|folge)/(?P<id>.+)'
@ -270,6 +271,12 @@ class ArteTVDDCIE(ArteTVPlus7IE):
u'file': u'049881-009_PLUS7-D.flv', u'file': u'049881-009_PLUS7-D.flv',
u'info_dict': { u'info_dict': {
u'title': u'Mit offenen Karten', u'title': u'Mit offenen Karten',
u'description': u'md5:57929b0eaeddeb8a0c983f58e9ebd3b6',
u'upload_date': u'20131207',
},
u'params': {
# rtmp download
u'skip_download': True,
}, },
} }