]>
Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/engadget.py
   1 from __future__ 
import unicode_literals
 
   3 from .common 
import InfoExtractor
 
   6 class EngadgetIE(InfoExtractor
): 
   7     _VALID_URL 
= r
'https?://www.engadget.com/video/(?P<id>\d+)' 
  10         'url': 'http://www.engadget.com/video/518153925/', 
  11         'md5': 'c6820d4828a5064447a4d9fc73f312c9', 
  15             'title': 'Samsung Galaxy Tab Pro 8.4 Review', 
  17         'add_ie': ['FiveMin'], 
  20     def _real_extract(self
, url
): 
  21         video_id 
= self
._match
_id
(url
) 
  22         return self
.url_result('5min:%s' % video_id
)