From: Jaime Marquínez Ferrándiz Date: Fri, 3 Apr 2015 17:37:35 +0000 (+0200) Subject: [mixcloud] Fix extraction of like count (reported in #5231) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=cd341b6e0679c11b3698191615b18dbaaf2b0a76;p=youtube-dl [mixcloud] Fix extraction of like count (reported in #5231) --- diff --git a/youtube_dl/extractor/mixcloud.py b/youtube_dl/extractor/mixcloud.py index 21aea0c55..84f291558 100644 --- a/youtube_dl/extractor/mixcloud.py +++ b/youtube_dl/extractor/mixcloud.py @@ -97,7 +97,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'\bbutton-favorite\b.+m-ajax-toggle-count="([^"]+)"', + r'\bbutton-favorite\b[^>]+m-ajax-toggle-count="([^"]+)"', webpage, 'like count', fatal=False)) view_count = str_to_int(self._search_regex( [r'