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',
16 'title': 'Video title goes here',
20 def _real_extract(self, url):
21 video_id = self._match_id(url)
23 '_type': 'url_transparent',
24 'ie_key': 'ThePlatform',
26 'http://link.theplatform.com/s/gZWlPC/media/guid/2408950221/%s?mbr=true&manifest=m3u' % video_id,
27 {'force_smil_url': True}),