]>
Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/cbssports.py
1 from __future__
import unicode_literals
3 from .cbs
import CBSBaseIE
6 class CBSSportsIE(CBSBaseIE
):
7 _VALID_URL
= r
'https?://www\.cbssports\.com/video/player/[^/]+/(?P<id>\d+)'
10 'url': 'http://www.cbssports.com/video/player/videos/708337219968/0/ben-simmons-the-next-lebron?-not-so-fast',
14 'title': 'Ben Simmons the next LeBron? Not so fast',
15 'description': 'md5:854294f627921baba1f4b9a990d87197',
16 'timestamp': 1466293740,
17 'upload_date': '20160618',
18 'uploader': 'CBSI-NEW',
22 'skip_download': True,
26 def _real_extract(self
, url
):
27 video_id
= self
._match
_id
(url
)
28 return self
._extract
_video
_info
('byId=%s' % video_id
, video_id
)