You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
504 B

11 years ago
11 years ago
11 years ago
11 years ago
  1. from __future__ import unicode_literals
  2. from .common import InfoExtractor
  3. from .nexx import NexxIE
  4. class SpiegeltvIE(InfoExtractor):
  5. _VALID_URL = r'https?://(?:www\.)?spiegel\.tv/videos/(?P<id>\d+)'
  6. _TEST = {
  7. 'url': 'http://www.spiegel.tv/videos/161681-flug-mh370/',
  8. 'only_matching': True,
  9. }
  10. def _real_extract(self, url):
  11. return self.url_result(
  12. 'https://api.nexx.cloud/v3/748/videos/byid/%s'
  13. % self._match_id(url), ie=NexxIE.ie_key())