]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/engadget.py
Update the changelog.
[youtubedl] / youtube_dl / extractor / engadget.py
1 from __future__ import unicode_literals
2
3 from .common import InfoExtractor
4
5
6 class EngadgetIE(InfoExtractor):
7 _VALID_URL = r'https?://www.engadget.com/video/(?P<id>\d+)'
8
9 _TEST = {
10 'url': 'http://www.engadget.com/video/518153925/',
11 'md5': 'c6820d4828a5064447a4d9fc73f312c9',
12 'info_dict': {
13 'id': '518153925',
14 'ext': 'mp4',
15 'title': 'Samsung Galaxy Tab Pro 8.4 Review',
16 },
17 'add_ie': ['FiveMin'],
18 }
19
20 def _real_extract(self, url):
21 video_id = self._match_id(url)
22 return self.url_result('5min:%s' % video_id)