mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-22 10:11:52 +00:00
[mixcloud] Fix extraction (closes #14015)
This commit is contained in:
parent
df235dbba8
commit
745968bc72
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class MixcloudIE(InfoExtractor):
|
||||||
js = self._download_webpage(js_url, track_id, fatal=False)
|
js = self._download_webpage(js_url, track_id, fatal=False)
|
||||||
if js:
|
if js:
|
||||||
KEY_RE_TEMPLATE = r'player\s*:\s*{.*?\b%s\s*:\s*(["\'])(?P<key>(?:(?!\1).)+)\1'
|
KEY_RE_TEMPLATE = r'player\s*:\s*{.*?\b%s\s*:\s*(["\'])(?P<key>(?:(?!\1).)+)\1'
|
||||||
for key_name in ('value', 'key_value'):
|
for key_name in ('value', 'key_value', 'key_value_two'):
|
||||||
key = self._search_regex(
|
key = self._search_regex(
|
||||||
KEY_RE_TEMPLATE % key_name, js, 'key',
|
KEY_RE_TEMPLATE % key_name, js, 'key',
|
||||||
default=None, group='key')
|
default=None, group='key')
|
||||||
|
|
Loading…
Reference in a new issue