[mixcloud] Fix extraction like-count

This commit is contained in:
Roman Le Négrate authored and Jaime Marquínez Ferrándiz committed 2015-03-18 16:30:29 +01:00
1 parent 2c2c06e359
commit fa8ce26904
1 file changed
+1 -2
+1 -2
View File
@@ -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'<meta itemprop="interactionCount" content="UserLikes:([0-9]+)"',
r'/favorites/?">([0-9]+)<'],
r'\bbutton-favorite\b.+m-ajax-toggle-count="([^"]+)"',
webpage, 'like count', fatal=False))
view_count = str_to_int(self._search_regex(
[r'<meta itemprop="interactionCount" content="UserPlays:([0-9]+)"',