]>
Commit | Line | Data |
---|---|---|
211fd6c6 GJ |
1 | from __future__ import unicode_literals |
2 | ||
211fd6c6 | 3 | from .common import InfoExtractor |
c7604d79 | 4 | from .nexx import NexxIE |
211fd6c6 | 5 | |
d5519808 | 6 | |
211fd6c6 | 7 | class 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()) |