mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[mixcloud] Fix extraction like-count
This commit is contained in:
		 Roman Le Négrate
					Roman Le Négrate
				
			
				
					committed by
					
						 Jaime Marquínez Ferrándiz
						Jaime Marquínez Ferrándiz
					
				
			
			
				
	
			
			
			 Jaime Marquínez Ferrándiz
						Jaime Marquínez Ferrándiz
					
				
			
						parent
						
							2c2c06e359
						
					
				
				
					commit
					fa8ce26904
				
			| @@ -99,8 +99,7 @@ class MixcloudIE(InfoExtractor): | |||||||
|             r'\s+"profile": "([^"]+)",', webpage, 'uploader id', fatal=False) |             r'\s+"profile": "([^"]+)",', webpage, 'uploader id', fatal=False) | ||||||
|         description = self._og_search_description(webpage) |         description = self._og_search_description(webpage) | ||||||
|         like_count = str_to_int(self._search_regex( |         like_count = str_to_int(self._search_regex( | ||||||
|             [r'<meta itemprop="interactionCount" content="UserLikes:([0-9]+)"', |             r'\bbutton-favorite\b.+m-ajax-toggle-count="([^"]+)"', | ||||||
|              r'/favorites/?">([0-9]+)<'], |  | ||||||
|             webpage, 'like count', fatal=False)) |             webpage, 'like count', fatal=False)) | ||||||
|         view_count = str_to_int(self._search_regex( |         view_count = str_to_int(self._search_regex( | ||||||
|             [r'<meta itemprop="interactionCount" content="UserPlays:([0-9]+)"', |             [r'<meta itemprop="interactionCount" content="UserPlays:([0-9]+)"', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user