mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-31 00:22:53 +08:00
[mixcloud] Fix metadata extraction (fixes #3930)
This commit is contained in:
parent
3357110a4c
commit
b4c3c8c172
@ -70,7 +70,7 @@ class MixcloudIE(InfoExtractor):
|
|||||||
raise ExtractorError('Unable to extract track url')
|
raise ExtractorError('Unable to extract track url')
|
||||||
|
|
||||||
PREFIX = (
|
PREFIX = (
|
||||||
r'<div class="cloudcast-play-button-container"'
|
r'<div class="cloudcast-play-button-container[^"]*?"'
|
||||||
r'(?:\s+[a-zA-Z0-9-]+(?:="[^"]+")?)*?\s+')
|
r'(?:\s+[a-zA-Z0-9-]+(?:="[^"]+")?)*?\s+')
|
||||||
title = self._html_search_regex(
|
title = self._html_search_regex(
|
||||||
PREFIX + r'm-title="([^"]+)"', webpage, 'title')
|
PREFIX + r'm-title="([^"]+)"', webpage, 'title')
|
||||||
|
Loading…
Reference in New Issue
Block a user