From: Sergey M․ Date: Thu, 14 Apr 2016 15:52:05 +0000 (+0600) Subject: [arte:info] Add extractor (Closes #9182) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=404284132c7877767a5b751d2ada2e064f75bd10;p=youtube-dl [arte:info] Add extractor (Closes #9182) --- 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/(?Pfr|de|en|es)/(?:[^/]+/)*(?P[^/?#&]+)' + + _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/(?Pfr|de|en|es)/(?P[^/?#&]+)'