summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2016-06-18 21:42:17 +0700
committerSergey M․ <[email protected]>2016-06-18 21:42:17 +0700
commitd7c6c656c5c2fa64a1f8a4365a5fe62861b1dceb (patch)
treee4234da9c6c086bad38d527d4674a8752af55b0e
parentb0b128049a9180e58698e74bdc8079d80086dbef (diff)
downloadyoutube-dl-d7c6c656c5c2fa64a1f8a4365a5fe62861b1dceb.tar.gz
youtube-dl-d7c6c656c5c2fa64a1f8a4365a5fe62861b1dceb.zip
[arte:+7] Expand _VALID_URL (Closes #9820)
-rw-r--r--youtube_dl/extractor/arte.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py
index 9e39faf47..e602d3673 100644
--- a/youtube_dl/extractor/arte.py
+++ b/youtube_dl/extractor/arte.py
@@ -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