[arte:+7] Improve _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Sun, 21 Feb 2016 07:37:31 +0000 (13:37 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 21 Feb 2016 07:37:31 +0000 (13:37 +0600)
youtube_dl/extractor/arte.py

index 793da2ee1d8b015a5573d7febea439bb4f5e465a..f4d033e7094ff1614cda4043a74c37dd7b6d16ad 100644 (file)
@@ -63,7 +63,7 @@ class ArteTvIE(InfoExtractor):
 
 class ArteTVPlus7IE(InfoExtractor):
     IE_NAME = 'arte.tv:+7'
-    _VALID_URL = r'https?://(?:www\.)?arte\.tv/guide/(?P<lang>fr|de|en|es)/(?:(?:sendungen|emissions)/)?(?P<id>[^/]+)/(?P<name>[^/?#&+])'
+    _VALID_URL = r'https?://(?:www\.)?arte\.tv/guide/(?P<lang>fr|de|en|es)/(?:(?:sendungen|emissions|embed)/)?(?P<id>[^/]+)/(?P<name>[^/?#&+])'
 
     @classmethod
     def _extract_url_info(cls, url):