]>
jfr.im git - yt-dlp.git/blob - youtube_dlc/extractor/spiegeltv.py
1 from __future__
import unicode_literals
3 from .common
import InfoExtractor
4 from .nexx
import NexxIE
7 class SpiegeltvIE(InfoExtractor
):
8 _VALID_URL
= r
'https?://(?:www\.)?spiegel\.tv/videos/(?P<id>\d+)'
10 'url': 'http://www.spiegel.tv/videos/161681-flug-mh370/',
11 'only_matching': True,
14 def _real_extract(self
, url
):
15 return self
.url_result(
16 'https://api.nexx.cloud/v3/748/videos/byid/%s'
17 % self
._match
_id
(url
), ie
=NexxIE
.ie_key())