mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	Refactor code to use url_result
This commit is contained in:
		| @@ -62,7 +62,7 @@ class AudiomackIE(InfoExtractor): | ||||
|         # Audiomack wraps a lot of soundcloud tracks in their branded wrapper | ||||
|         # if so, pass the work off to the soundcloud extractor | ||||
|         if SoundcloudIE.suitable(api_response['url']): | ||||
|             return {'_type': 'url', 'url': api_response['url'], 'ie_key': 'Soundcloud'} | ||||
|             return self.url_result(api_response['url'], SoundcloudIE.ie_key()) | ||||
|  | ||||
|         return { | ||||
|             'id': compat_str(api_response.get('id', album_url_tag)), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Elan Ruusamäe
					Elan Ruusamäe