]>
Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/cnbc.py
d354d9f9584426658e468452cb54d3eaa8e3478a
2 from __future__
import unicode_literals
4 from .common
import InfoExtractor
5 from ..utils
import smuggle_url
8 class CNBCIE(InfoExtractor
):
9 _VALID_URL
= r
'https?://video\.cnbc\.com/gallery/\?video=(?P<id>[0-9]+)'
11 'url': 'http://video.cnbc.com/gallery/?video=3000503714',
15 'title': 'Fighting zombies is big business',
16 'description': 'md5:0c100d8e1a7947bd2feec9a5550e519e',
17 'timestamp': 1459332000,
18 'upload_date': '20160330',
19 'uploader': 'NBCU-CNBC',
23 'skip_download': True,
27 def _real_extract(self
, url
):
28 video_id
= self
._match
_id
(url
)
30 '_type': 'url_transparent',
31 'ie_key': 'ThePlatform',
33 'http://link.theplatform.com/s/gZWlPC/media/guid/2408950221/%s?mbr=true&manifest=m3u' % video_id
,
34 {'force_smil_url': True}),