]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[arte:+7] Expand _VALID_URL (Closes #9820)
authorSergey M․ <dstftw@gmail.com>
Sat, 18 Jun 2016 14:42:17 +0000 (21:42 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 18 Jun 2016 14:42:17 +0000 (21:42 +0700)
youtube_dl/extractor/arte.py

index 9e39faf47dbe02583fd8c8a2568f9779c2222074..e602d3673305ef85d491599b257afe52d00b89ae 100644 (file)
@@ -180,11 +180,14 @@ class ArteTVBaseIE(InfoExtractor):
 
 class ArteTVPlus7IE(ArteTVBaseIE):
     IE_NAME = 'arte.tv:+7'
-    _VALID_URL = r'https?://(?:www\.)?arte\.tv/guide/(?P<lang>fr|de|en|es)/(?:(?:sendungen|emissions|embed)/)?(?P<id>[^/]+)/(?P<name>[^/?#&]+)'
+    _VALID_URL = r'https?://(?:(?:www|sites)\.)?arte\.tv/[^/]+/(?P<lang>fr|de|en|es)/(?:(?:sendungen|emissions|embed)/)?(?P<id>[^/]+)/(?P<name>[^/?#&]+)'
 
     _TESTS = [{
         'url': 'http://www.arte.tv/guide/de/sendungen/XEN/xenius/?vid=055918-015_PLUS7-D',
         'only_matching': True,
+    }. {
+        'url': 'http://sites.arte.tv/karambolage/de/video/karambolage-22',
+        'only_matching': True,
     }]
 
     @classmethod