0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-18 05:19:59 +00:00
yt-dlp/youtube_dl/extractor/d8.py

23 lines
689 B
Python
Raw Normal View History

2013-11-12 22:32:03 +00:00
# encoding: utf-8
from .canalplus import CanalplusIE
2013-11-12 22:32:03 +00:00
class D8IE(CanalplusIE):
2013-11-12 22:32:03 +00:00
_VALID_URL = r'https?://www\.d8\.tv/.*?/(?P<path>.*)'
_VIDEO_INFO_TEMPLATE = 'http://service.canal-plus.com/video/rest/getVideosLiees/d8/%s'
IE_NAME = u'd8.tv'
_TEST = {
u'url': u'http://www.d8.tv/d8-docs-mags/pid6589-d8-campagne-intime.html',
u'file': u'966289.flv',
u'info_dict': {
u'title': u'Campagne intime - Documentaire exceptionnel',
u'description': u'md5:d2643b799fb190846ae09c61e59a859f',
u'upload_date': u'20131108',
},
u'params': {
# rtmp
2013-11-12 22:32:03 +00:00
u'skip_download': True,
},
}