]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/d8.py
Merge tag 'upstream/2013.12.04'
[youtubedl] / youtube_dl / extractor / d8.py
1 # encoding: utf-8
2 from .canalplus import CanalplusIE
3
4
5 class D8IE(CanalplusIE):
6 _VALID_URL = r'https?://www\.d8\.tv/.*?/(?P<path>.*)'
7 _VIDEO_INFO_TEMPLATE = 'http://service.canal-plus.com/video/rest/getVideosLiees/d8/%s'
8 IE_NAME = u'd8.tv'
9
10 _TEST = {
11 u'url': u'http://www.d8.tv/d8-docs-mags/pid6589-d8-campagne-intime.html',
12 u'file': u'966289.flv',
13 u'info_dict': {
14 u'title': u'Campagne intime - Documentaire exceptionnel',
15 u'description': u'md5:d2643b799fb190846ae09c61e59a859f',
16 u'upload_date': u'20131108',
17 },
18 u'params': {
19 # rtmp
20 u'skip_download': True,
21 },
22 }