1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-26 20:22:14 +00:00

[ndr] Replace 404 video test

This commit is contained in:
Sergey M. 2014-02-11 21:21:05 +07:00
parent 0ae6b01937
commit 008fda0f08

View file

@ -13,22 +13,22 @@ class NDRIE(InfoExtractor):
_VALID_URL = r'https?://www\.ndr\.de/.+?(?P<id>\d+)\.html' _VALID_URL = r'https?://www\.ndr\.de/.+?(?P<id>\d+)\.html'
_TESTS = [ _TESTS = [
# video
{ {
'url': 'http://www.ndr.de/fernsehen/sendungen/hallo_niedersachsen/media/hallonds19925.html', 'url': 'http://www.ndr.de/fernsehen/sendungen/markt/markt7959.html',
'md5': '20eba151ff165f386643dad9c1da08f7', 'md5': 'e7a6079ca39d3568f4996cb858dd6708',
'note': 'Video file',
'info_dict': { 'info_dict': {
'id': '19925', 'id': '7959',
'ext': 'mp4', 'ext': 'mp4',
'title': 'Hallo Niedersachsen ', 'title': 'Markt - die ganze Sendung',
'description': 'Bei Hallo Niedersachsen um 19:30 Uhr erfahren Sie alles, was am Tag in Niedersachsen los war.', 'description': 'md5:af9179cf07f67c5c12dc6d9997e05725',
'duration': 1722, 'duration': 2655,
}, },
}, },
# audio
{ {
'url': 'http://www.ndr.de/903/audio191719.html', 'url': 'http://www.ndr.de/903/audio191719.html',
'md5': '41ed601768534dd18a9ae34d84798129', 'md5': '41ed601768534dd18a9ae34d84798129',
'note': 'Audio file',
'info_dict': { 'info_dict': {
'id': '191719', 'id': '191719',
'ext': 'mp3', 'ext': 'mp3',