projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[generic/ooyala] Add support for Ooyala embeds on SBN network websites (Fixes #4859)
[youtube-dl]
/
youtube_dl
/
extractor
/
ndr.py
diff --git
a/youtube_dl/extractor/ndr.py
b/youtube_dl/extractor/ndr.py
index cf7f0309b6fa76e8ad4d35e865db22a14e0251b5..f49c666909a270ad18e36a2d1177ef681adc3121 100644
(file)
--- a/
youtube_dl/extractor/ndr.py
+++ b/
youtube_dl/extractor/ndr.py
@@
-25,7
+25,7
@@
class NDRIE(InfoExtractor):
'id': '25866',
'ext': 'mp4',
'title': 'Kartoffeltage in der Lewitz',
'id': '25866',
'ext': 'mp4',
'title': 'Kartoffeltage in der Lewitz',
- 'description': 'md5:
16d4d66907f541692e8182c33270f29a
',
+ 'description': 'md5:
48c4c04dde604c8a9971b3d4e3b9eaa8
',
'duration': 166,
}
},
'duration': 166,
}
},
@@
-67,7
+67,7
@@
class NDRIE(InfoExtractor):
thumbnail = None
thumbnail = None
- video_url = re.search(r'''3: \{src:'(?P<video>.+?)\.
hi
\.mp4', type:"video/mp4"},''', page)
+ video_url = re.search(r'''3: \{src:'(?P<video>.+?)\.
(lo|hi|hq)
\.mp4', type:"video/mp4"},''', page)
if video_url:
thumbnails = re.findall(r'''\d+: \{src: "([^"]+)"(?: \|\| '[^']+')?, quality: '([^']+)'}''', page)
if thumbnails:
if video_url:
thumbnails = re.findall(r'''\d+: \{src: "([^"]+)"(?: \|\| '[^']+')?, quality: '([^']+)'}''', page)
if thumbnails:
@@
-91,4
+91,4
@@
class NDRIE(InfoExtractor):
'thumbnail': thumbnail,
'duration': duration,
'formats': formats,
'thumbnail': thumbnail,
'duration': duration,
'formats': formats,
- }
\ No newline at end of file
+ }