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

index ba06d8a98aeb179ce67b61d12ac6be2db8d8c0db..a2b51ccb306e58a43ab119a082538b0842d09b18 100644 (file)
@@ -23,7 +23,7 @@ class NDRBaseIE(InfoExtractor):
 class NDRIE(NDRBaseIE):
     IE_NAME = 'ndr'
     IE_DESC = 'NDR.de - Norddeutscher Rundfunk'
-    _VALID_URL = r'https?://www\.ndr\.de/(?:[^/]+/)+(?P<id>[^/?#]+),[\da-z]+\.html'
+    _VALID_URL = r'https?://www\.ndr\.de/(?:[^/]+/)*(?P<id>[^/?#]+),[\da-z]+\.html'
     _TESTS = [{
         # httpVideo, same content id
         'url': 'http://www.ndr.de/fernsehen/Party-Poette-und-Parade,hafengeburtstag988.html',