]>
Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/skysports.py
9dc78c7d2b27748fd2e1c083e7b265448cbff500
2 from __future__
import unicode_literals
4 from .common
import InfoExtractor
7 class SkySportsIE(InfoExtractor
):
8 _VALID_URL
= r
'https?://(?:www\.)?skysports\.com/watch/video/(?P<id>[0-9]+)'
10 'url': 'http://www.skysports.com/watch/video/10328419/bale-its-our-time-to-shine',
11 'md5': 'c44a1db29f27daf9a0003e010af82100',
15 'title': 'Bale: Its our time to shine',
16 'description': 'md5:9fd1de3614d525f5addda32ac3c482c9',
21 def _real_extract(self
, url
):
22 video_id
= self
._match
_id
(url
)
23 webpage
= self
._download
_webpage
(url
, video_id
)
26 '_type': 'url_transparent',
28 'url': 'ooyala:%s' % self
._search
_regex
(
29 r
'data-video-id="([^"]+)"', webpage
, 'ooyala id'),
30 'title': self
._og
_search
_title
(webpage
),
31 'description': self
._og
_search
_description
(webpage
),