Browse Source

[mixcloud] Fix metadata extraction (fixes #3930)

totalwebcasting
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
b4c3c8c172
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/mixcloud.py

+ 1
- 1
youtube_dl/extractor/mixcloud.py View File

@ -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…
Cancel
Save