aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-04-14 21:52:05 +0600
committerSergey M․ <dstftw@gmail.com>2016-04-14 21:52:05 +0600
commit404284132c7877767a5b751d2ada2e064f75bd10 (patch)
tree87e70186e99c429ff3b6c25b886967b54ccce483 /youtube_dl
parent5565be9dd9bfce361dd2c77cc0b1fc735a908b4e (diff)
[arte:info] Add extractor (Closes #9182)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/arte.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py
index f042d9163..662230a90 100644
--- a/youtube_dl/extractor/arte.py
+++ b/youtube_dl/extractor/arte.py
@@ -232,6 +232,21 @@ class ArteTVCreativeIE(ArteTVPlus7IE):
}]
+class ArteTVInfoIE(ArteTVPlus7IE):
+ IE_NAME = 'arte.tv:info'
+ _VALID_URL = r'https?://info\.arte\.tv/(?P<lang>fr|de|en|es)/(?:[^/]+/)*(?P<id>[^/?#&]+)'
+
+ _TEST = {
+ 'url': 'http://info.arte.tv/fr/service-civique-un-cache-misere',
+ 'info_dict': {
+ 'id': '067528-000-A',
+ 'ext': 'mp4',
+ 'title': 'Service civique, un cache misère ?',
+ 'upload_date': '20160403',
+ },
+ }
+
+
class ArteTVFutureIE(ArteTVPlus7IE):
IE_NAME = 'arte.tv:future'
_VALID_URL = r'https?://future\.arte\.tv/(?P<lang>fr|de|en|es)/(?P<id>[^/?#&]+)'