]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[njoy] Relax _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Fri, 6 Nov 2015 15:08:21 +0000 (21:08 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 6 Nov 2015 15:08:21 +0000 (21:08 +0600)
youtube_dl/extractor/ndr.py

index 0be866681283a69911d955c89cce5f0cfc84d1eb..7043c7e0f3871cfcbb202826688d8f3f930b6a69 100644 (file)
@@ -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',