[arte:cinema] Add extractor
authorSergey M․ <dstftw@gmail.com>
Fri, 22 Jan 2016 17:00:50 +0000 (23:00 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 22 Jan 2016 17:00:50 +0000 (23:00 +0600)
youtube_dl/extractor/__init__.py
youtube_dl/extractor/arte.py

index bab3d7b46d4fc5efe3c1bd40421b2325fd740376..cee5cfe7cca6214724830e09c3581c0afa11a6c2 100644 (file)
@@ -42,6 +42,7 @@ from .arte import (
     ArteTVCreativeIE,
     ArteTVConcertIE,
     ArteTVFutureIE,
+    ArteTVCinemaIE,
     ArteTVDDCIE,
     ArteTVEmbedIE,
 )
index 7ef42e0924b9e42829dbc8f3ae0e59e1671af23f..b9e07f0ef9e6d173cc04e5b7831691a4b343409a 100644 (file)
@@ -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)