projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e2eb4b
)
[ndr:embed] Relax _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Fri, 6 Nov 2015 15:08:52 +0000
(21:08 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 6 Nov 2015 15:08:52 +0000
(21:08 +0600)
youtube_dl/extractor/ndr.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ndr.py
b/youtube_dl/extractor/ndr.py
index 7043c7e0f3871cfcbb202826688d8f3f930b6a69..477ce4e6b6c661b4a929545bb1c797c1abfc0825 100644
(file)
--- a/
youtube_dl/extractor/ndr.py
+++ b/
youtube_dl/extractor/ndr.py
@@
-238,7
+238,7
@@
class NDREmbedBaseIE(InfoExtractor):
class NDREmbedIE(NDREmbedBaseIE):
IE_NAME = 'ndr:embed'
- _VALID_URL = r'https?://www\.ndr\.de/(?:[^/]+/)
+
(?P<id>[\da-z]+)-(?:player|externalPlayer)\.html'
+ _VALID_URL = r'https?://www\.ndr\.de/(?:[^/]+/)
*
(?P<id>[\da-z]+)-(?:player|externalPlayer)\.html'
_TESTS = [{
'url': 'http://www.ndr.de/fernsehen/sendungen/ndr_aktuell/ndraktuell28488-player.html',
'md5': '8b9306142fe65bbdefb5ce24edb6b0a9',