0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

[mixcloud] Fix metadata extraction (fixes #4443)

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-12-11 23:16:40 +01:00
parent cb007f47c1
commit 9c1aa1d668

View file

@ -70,7 +70,7 @@ def _real_extract(self, url):
raise ExtractorError('Unable to extract track url')
PREFIX = (
r'<div class="cloudcast-play-button-container[^"]*?"'
r'<span class="play-button[^"]*?"'
r'(?:\s+[a-zA-Z0-9-]+(?:="[^"]+")?)*?\s+')
title = self._html_search_regex(
PREFIX + r'm-title="([^"]+)"', webpage, 'title')