]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[arte.tv:+7] Fix _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Wed, 19 Mar 2014 14:23:55 +0000 (21:23 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 19 Mar 2014 14:23:55 +0000 (21:23 +0700)
youtube_dl/extractor/arte.py

index d194f25643f2e26839686f372b404293db831ae2..13556d9546b442eb09c1fee002beec9c8b44d096 100644 (file)
@@ -131,7 +131,7 @@ class ArteTvIE(InfoExtractor):
 
 class ArteTVPlus7IE(InfoExtractor):
     IE_NAME = 'arte.tv:+7'
-    _VALID_URL = r'https?://www\.arte.tv/guide/(?P<lang>fr|de)/(?:(?:sendungen|emissions)/)?(?P<id>.*?)/(?P<name>.*?)(\?.*)?'
+    _VALID_URL = r'https?://(?:www\.)?arte\.tv/guide/(?P<lang>fr|de)/(?:(?:sendungen|emissions)/)?(?P<id>.*?)/(?P<name>.*?)(\?.*)?'
 
     @classmethod
     def _extract_url_info(cls, url):