]>
Raphaël G. Git Repositories - youtubedl/blob - youtube_dl/extractor/ctv.py
2 from __future__
import unicode_literals
4 from .common
import InfoExtractor
7 class CTVIE(InfoExtractor
):
8 _VALID_URL
= r
'https?://(?:www\.)?ctv\.ca/video/player\?vid=(?P<id>[0-9.]+)'
10 'url': 'http://www.ctv.ca/video/player?vid=706966',
11 'md5': 'ff2ebbeae0aa2dcc32a830c3fd69b7b0',
15 'title': 'Larry Day and Richard Jutras on the TIFF red carpet of \'Stonewall\'',
16 'description': 'etalk catches up with Larry Day and Richard Jutras on the TIFF red carpet of "Stonewall”.',
17 'upload_date': '20150919',
18 'timestamp': 1442624700,
20 'expected_warnings': ['HTTP Error 404'],
23 def _real_extract(self
, url
):
24 video_id
= self
._match
_id
(url
)
26 '_type': 'url_transparent',
28 'url': '9c9media:ctv_web:%s' % video_id
,
29 'ie_key': 'NineCNineMedia',