]> jfr.im git - yt-dlp.git/blame - youtube_dl/extractor/d8.py
Add support for embedded vevo player (Fixes #1957)
[yt-dlp.git] / youtube_dl / extractor / d8.py
CommitLineData
0bd59f37 1# encoding: utf-8
69545c2a 2from .canalplus import CanalplusIE
0bd59f37 3
0bd59f37 4
69545c2a 5class D8IE(CanalplusIE):
0bd59f37 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': {
69545c2a 19 # rtmp
0bd59f37 20 u'skip_download': True,
21 },
22 }