]>
Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/fivemin.py
1 from __future__
import unicode_literals
3 from .common
import InfoExtractor
6 class FiveMinIE(InfoExtractor
):
8 _VALID_URL
= r
'(?:5min:|https?://(?:[^/]*?5min\.com/|delivery\.vidible\.tv/aol)(?:(?:Scripts/PlayerSeed\.js|playerseed/?)?\?.*?playList=)?)(?P<id>\d+)'
12 # From http://www.engadget.com/2013/11/15/ipad-mini-retina-display-review/
13 'url': 'http://pshared.5min.com/Scripts/PlayerSeed.js?sid=281&width=560&height=345&playList=518013791',
14 'md5': '4f7b0b79bf1a470e5004f7112385941d',
18 'title': 'iPad Mini with Retina Display Review',
19 'description': 'iPad mini with Retina Display review',
21 'uploader': 'engadget',
22 'upload_date': '20131115',
23 'timestamp': 1384515288,
27 'skip_download': True,
31 # From http://on.aol.com/video/how-to-make-a-next-level-fruit-salad-518086247
32 'url': '5min:518086247',
33 'md5': 'e539a9dd682c288ef5a498898009f69e',
37 'title': 'How to Make a Next-Level Fruit Salad',
40 'skip': 'no longer available',
43 'url': 'http://embed.5min.com/518726732/',
44 'only_matching': True,
47 'url': 'http://delivery.vidible.tv/aol?playList=518013791',
48 'only_matching': True,
52 def _real_extract(self
, url
):
53 video_id
= self
._match
_id
(url
)
54 return self
.url_result('aol-video:%s' % video_id
)