mirror of https://github.com/blackjack4494/yt-dlc
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
504 B
Python
18 lines
504 B
Python
11 years ago
|
from __future__ import unicode_literals
|
||
|
|
||
|
from .common import InfoExtractor
|
||
8 years ago
|
from .nexx import NexxIE
|
||
11 years ago
|
|
||
11 years ago
|
|
||
11 years ago
|
class SpiegeltvIE(InfoExtractor):
|
||
8 years ago
|
_VALID_URL = r'https?://(?:www\.)?spiegel\.tv/videos/(?P<id>\d+)'
|
||
|
_TEST = {
|
||
|
'url': 'http://www.spiegel.tv/videos/161681-flug-mh370/',
|
||
10 years ago
|
'only_matching': True,
|
||
8 years ago
|
}
|
||
11 years ago
|
|
||
|
def _real_extract(self, url):
|
||
8 years ago
|
return self.url_result(
|
||
|
'https://api.nexx.cloud/v3/748/videos/byid/%s'
|
||
|
% self._match_id(url), ie=NexxIE.ie_key())
|