[njoy:embed] Relax _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Fri, 6 Nov 2015 15:09:17 +0000 (21:09 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 6 Nov 2015 15:09:17 +0000 (21:09 +0600)
youtube_dl/extractor/ndr.py

index 477ce4e6b6c661b4a929545bb1c797c1abfc0825..16213eed90119266207bd1936adf098050a92c4b 100644 (file)
@@ -332,7 +332,7 @@ class NDREmbedIE(NDREmbedBaseIE):
 
 class NJoyEmbedIE(NDREmbedBaseIE):
     IE_NAME = 'njoy:embed'
-    _VALID_URL = r'https?://www\.n-joy\.de/(?:[^/]+/)+(?P<id>[\da-z]+)-(?:player|externalPlayer)_[^/]+\.html'
+    _VALID_URL = r'https?://www\.n-joy\.de/(?:[^/]+/)*(?P<id>[\da-z]+)-(?:player|externalPlayer)_[^/]+\.html'
     _TESTS = [{
         # httpVideo
         'url': 'http://www.n-joy.de/events/reeperbahnfestival/doku948-player_image-bc168e87-5263-4d6d-bd27-bb643005a6de_theme-n-joy.html',