diff options
Diffstat (limited to 'youtube_dlc/extractor/spiegeltv.py')
-rw-r--r-- | youtube_dlc/extractor/spiegeltv.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/spiegeltv.py b/youtube_dlc/extractor/spiegeltv.py new file mode 100644 index 000000000..6ccf4c342 --- /dev/null +++ b/youtube_dlc/extractor/spiegeltv.py @@ -0,0 +1,17 @@ +from __future__ import unicode_literals + +from .common import InfoExtractor +from .nexx import NexxIE + + +class SpiegeltvIE(InfoExtractor): + _VALID_URL = r'https?://(?:www\.)?spiegel\.tv/videos/(?P<id>\d+)' + _TEST = { + 'url': 'http://www.spiegel.tv/videos/161681-flug-mh370/', + 'only_matching': True, + } + + def _real_extract(self, url): + return self.url_result( + 'https://api.nexx.cloud/v3/748/videos/byid/%s' + % self._match_id(url), ie=NexxIE.ie_key()) |