]> jfr.im git - yt-dlp.git/blame - yt_dlp/extractor/spiegeltv.py
[adobepass] Add MSO Sling TV (#596)
[yt-dlp.git] / yt_dlp / extractor / spiegeltv.py
CommitLineData
211fd6c6
GJ
1from __future__ import unicode_literals
2
211fd6c6 3from .common import InfoExtractor
c7604d79 4from .nexx import NexxIE
211fd6c6 5
d5519808 6
211fd6c6 7class SpiegeltvIE(InfoExtractor):
c7604d79
S
8 _VALID_URL = r'https?://(?:www\.)?spiegel\.tv/videos/(?P<id>\d+)'
9 _TEST = {
10 'url': 'http://www.spiegel.tv/videos/161681-flug-mh370/',
939fe70d 11 'only_matching': True,
c7604d79 12 }
211fd6c6
GJ
13
14 def _real_extract(self, url):
c7604d79
S
15 return self.url_result(
16 'https://api.nexx.cloud/v3/748/videos/byid/%s'
17 % self._match_id(url), ie=NexxIE.ie_key())