]>
Commit | Line | Data |
---|---|---|
0bd59f37 | 1 | # encoding: utf-8 |
43030f36 | 2 | from __future__ import unicode_literals |
48c63f16 | 3 | |
69545c2a | 4 | from .canalplus import CanalplusIE |
0bd59f37 | 5 | |
0bd59f37 | 6 | |
69545c2a | 7 | class D8IE(CanalplusIE): |
0bd59f37 | 8 | _VALID_URL = r'https?://www\.d8\.tv/.*?/(?P<path>.*)' |
9 | _VIDEO_INFO_TEMPLATE = 'http://service.canal-plus.com/video/rest/getVideosLiees/d8/%s' | |
48c63f16 | 10 | IE_NAME = 'd8.tv' |
0bd59f37 | 11 | |
12 | _TEST = { | |
48c63f16 PH |
13 | 'url': 'http://www.d8.tv/d8-docs-mags/pid6589-d8-campagne-intime.html', |
14 | 'file': '966289.flv', | |
15 | 'info_dict': { | |
16 | 'title': 'Campagne intime - Documentaire exceptionnel', | |
17 | 'description': 'md5:d2643b799fb190846ae09c61e59a859f', | |
18 | 'upload_date': '20131108', | |
0bd59f37 | 19 | }, |
48c63f16 | 20 | 'params': { |
69545c2a | 21 | # rtmp |
48c63f16 | 22 | 'skip_download': True, |
0bd59f37 | 23 | }, |
48c63f16 | 24 | 'skip': 'videos get deleted after a while', |
0bd59f37 | 25 | } |