[mixcloud] Fix metadata extraction (fixes #4443)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 11 Dec 2014 22:16:40 +0000 (23:16 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 11 Dec 2014 22:16:40 +0000 (23:16 +0100)
youtube_dl/extractor/mixcloud.py

index bb8937c4d53d33df6b560aff7d56df80740bf1cc..55cc33a3e4b94014f9d4642eff1d1a3d6dc26d05 100644 (file)
@@ -70,7 +70,7 @@ class MixcloudIE(InfoExtractor):
             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')