From: Roman Le NĂ©grate Date: Sun, 15 Mar 2015 21:32:06 +0000 (+0100) Subject: [mixcloud] Fix extraction like-count X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=fa8ce2690447fa06a10398efd5b6dfa96c2ed1b4;p=youtube-dl [mixcloud] Fix extraction like-count --- diff --git a/youtube_dl/extractor/mixcloud.py b/youtube_dl/extractor/mixcloud.py index 1831c6749..7c6c885f9 100644 --- a/youtube_dl/extractor/mixcloud.py +++ b/youtube_dl/extractor/mixcloud.py @@ -99,8 +99,7 @@ class MixcloudIE(InfoExtractor): r'\s+"profile": "([^"]+)",', webpage, 'uploader id', fatal=False) description = self._og_search_description(webpage) like_count = str_to_int(self._search_regex( - [r'([0-9]+)<'], + r'\bbutton-favorite\b.+m-ajax-toggle-count="([^"]+)"', webpage, 'like count', fatal=False)) view_count = str_to_int(self._search_regex( [r'