]> jfr.im git - yt-dlp.git/blob - yt_dlp/extractor/engadget.py
[go,viu] Extract subtitles from the m3u8 manifest (#3219)
[yt-dlp.git] / yt_dlp / 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>[^/?#]+)'
8
9 _TESTS = [{
10 # video with vidible ID
11 'url': 'https://www.engadget.com/video/57a28462134aa15a39f0421a/',
12 'only_matching': True,
13 }]
14
15 def _real_extract(self, url):
16 video_id = self._match_id(url)
17 return self.url_result('aol-video:%s' % video_id)