projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0ae6b01
)
[ndr] Replace 404 video test
author
Sergey M.
<dstftw@gmail.com>
Tue, 11 Feb 2014 14:21:05 +0000
(21:21 +0700)
committer
Sergey M.
<dstftw@gmail.com>
Tue, 11 Feb 2014 14:21:05 +0000
(21:21 +0700)
youtube_dl/extractor/ndr.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ndr.py
b/youtube_dl/extractor/ndr.py
index bf6782d7d83bf5173fc0aa1ce939513a08d853b8..811ef52013ab7c3416da2f647323e4e4992dda97 100644
(file)
--- a/
youtube_dl/extractor/ndr.py
+++ b/
youtube_dl/extractor/ndr.py
@@
-13,22
+13,22
@@
class NDRIE(InfoExtractor):
_VALID_URL = r'https?://www\.ndr\.de/.+?(?P<id>\d+)\.html'
_TESTS = [
_VALID_URL = r'https?://www\.ndr\.de/.+?(?P<id>\d+)\.html'
_TESTS = [
- # video
{
{
- 'url': 'http://www.ndr.de/fernsehen/sendungen/hallo_niedersachsen/media/hallonds19925.html',
- 'md5': '20eba151ff165f386643dad9c1da08f7',
+ 'url': 'http://www.ndr.de/fernsehen/sendungen/markt/markt7959.html',
+ 'md5': 'e7a6079ca39d3568f4996cb858dd6708',
+ 'note': 'Video file',
'info_dict': {
'info_dict': {
- 'id': '
19925
',
+ 'id': '
7959
',
'ext': 'mp4',
'ext': 'mp4',
- 'title': '
Hallo Niedersachsen
',
- 'description': '
Bei Hallo Niedersachsen um 19:30 Uhr erfahren Sie alles, was am Tag in Niedersachsen los war.
',
- 'duration':
1722
,
+ 'title': '
Markt - die ganze Sendung
',
+ 'description': '
md5:af9179cf07f67c5c12dc6d9997e05725
',
+ 'duration':
2655
,
},
},
},
},
- # audio
{
'url': 'http://www.ndr.de/903/audio191719.html',
'md5': '41ed601768534dd18a9ae34d84798129',
{
'url': 'http://www.ndr.de/903/audio191719.html',
'md5': '41ed601768534dd18a9ae34d84798129',
+ 'note': 'Audio file',
'info_dict': {
'id': '191719',
'ext': 'mp3',
'info_dict': {
'id': '191719',
'ext': 'mp3',