projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01003d0
)
[njoy] Relax _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Fri, 6 Nov 2015 15:08:21 +0000
(21:08 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 6 Nov 2015 15:08:21 +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 0be866681283a69911d955c89cce5f0cfc84d1eb..7043c7e0f3871cfcbb202826688d8f3f930b6a69 100644
(file)
--- a/
youtube_dl/extractor/ndr.py
+++ b/
youtube_dl/extractor/ndr.py
@@
-105,7
+105,7
@@
class NDRIE(NDRBaseIE):
class NJoyIE(NDRBaseIE):
IE_NAME = 'njoy'
IE_DESC = 'N-JOY'
- _VALID_URL = r'https?://www\.n-joy\.de/(?:[^/]+/)
+
(?:(?P<display_id>[^/?#]+),)?(?P<id>[\da-z]+)\.html'
+ _VALID_URL = r'https?://www\.n-joy\.de/(?:[^/]+/)
*
(?:(?P<display_id>[^/?#]+),)?(?P<id>[\da-z]+)\.html'
_TESTS = [{
# httpVideo, same content id
'url': 'http://www.n-joy.de/entertainment/comedy/comedy_contest/Benaissa-beim-NDR-Comedy-Contest,comedycontest2480.html',