]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/audiomack.py
Update upstream source from tag 'upstream/2020.06.16.1'
[youtubedl] / youtube_dl / extractor / audiomack.py
index 62049b921089d4a10cc9f71b625540f82ea7e3b6..cc7771354c10b39778f0b2dcad55052db42066b3 100644 (file)
@@ -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)),