[mixcloud] Fix metadata extraction (fixes #3930)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 12 Oct 2014 11:06:31 +0000 (13:06 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 12 Oct 2014 11:06:31 +0000 (13:06 +0200)
youtube_dl/extractor/mixcloud.py

index 520f27fca14a3ed819b452281ede6f4aa86fe4a5..a4564d3de80957e04e8468d437a8c8d5f428347e 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'<div class="cloudcast-play-button-container[^"]*?"'
             r'(?:\s+[a-zA-Z0-9-]+(?:="[^"]+")?)*?\s+')
         title = self._html_search_regex(
             PREFIX + r'm-title="([^"]+)"', webpage, 'title')