mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-25 01:07:19 +00:00
[spiegel] Fix extraction (Closes #7693)
This commit is contained in:
parent
ef428960c9
commit
bf2c8c8f82
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ class SpiegelIE(InfoExtractor):
|
||||||
description = self._html_search_meta('description', webpage, 'description')
|
description = self._html_search_meta('description', webpage, 'description')
|
||||||
|
|
||||||
base_url = self._search_regex(
|
base_url = self._search_regex(
|
||||||
r'var\s+server\s*=\s*"([^"]+)\"', webpage, 'server URL')
|
[r'server\s*:\s*(["\'])(?P<url>.+?)\1', r'var\s+server\s*=\s*"(?P<url>[^"]+)\"'],
|
||||||
|
webpage, 'server URL', group='url')
|
||||||
|
|
||||||
xml_url = base_url + video_id + '.xml'
|
xml_url = base_url + video_id + '.xml'
|
||||||
idoc = self._download_xml(xml_url, video_id)
|
idoc = self._download_xml(xml_url, video_id)
|
||||||
|
|
Loading…
Reference in a new issue