diff options
author | Sergey M․ <[email protected]> | 2016-01-22 23:00:50 +0600 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2016-01-22 23:00:50 +0600 |
commit | 4fcd9d147df9b06d954b8f8a1749b50609529ed4 (patch) | |
tree | 4cac4ba66abd39ac59214a7f7e5fe0b6a364d3f5 /youtube_dl | |
parent | 9c54ae3387b883bec5f014e2ac864a9a6c109163 (diff) | |
download | youtube-dl-4fcd9d147df9b06d954b8f8a1749b50609529ed4.tar.gz youtube-dl-4fcd9d147df9b06d954b8f8a1749b50609529ed4.zip |
[arte:cinema] Add extractor
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/__init__.py | 1 | ||||
-rw-r--r-- | youtube_dl/extractor/arte.py | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/youtube_dl/extractor/__init__.py b/youtube_dl/extractor/__init__.py index bab3d7b46..cee5cfe7c 100644 --- a/youtube_dl/extractor/__init__.py +++ b/youtube_dl/extractor/__init__.py @@ -42,6 +42,7 @@ from .arte import ( ArteTVCreativeIE, ArteTVConcertIE, ArteTVFutureIE, + ArteTVCinemaIE, ArteTVDDCIE, ArteTVEmbedIE, ) diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py index 7ef42e092..b9e07f0ef 100644 --- a/youtube_dl/extractor/arte.py +++ b/youtube_dl/extractor/arte.py @@ -249,6 +249,23 @@ class ArteTVConcertIE(ArteTVPlus7IE): } +class ArteTVCinemaIE(ArteTVPlus7IE): + IE_NAME = 'arte.tv:cinema' + _VALID_URL = r'https?://cinema\.arte\.tv/(?P<lang>de|fr)/(?P<id>.+)' + + _TEST = { + 'url': 'http://cinema.arte.tv/de/node/38291', + 'md5': '6b275511a5107c60bacbeeda368c3aa1', + 'info_dict': { + 'id': '055876-000_PWA12025-D', + 'ext': 'mp4', + 'title': 'Tod auf dem Nil', + 'upload_date': '20160122', + 'description': 'md5:7f749bbb77d800ef2be11d54529b96bc', + }, + } + + class ArteTVEmbedIE(ArteTVPlus7IE): IE_NAME = 'arte.tv:embed' _VALID_URL = r'''(?x) |