mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-30 21:20:34 +00:00
cefecac12c
to avoid using same folder when using pip install for example
18 lines
504 B
Python
18 lines
504 B
Python
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())
|