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

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