aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/audiomack.py
diff options
context:
space:
mode:
authorElan Ruusamäe <glen@pld-linux.org>2019-01-01 18:56:05 +0200
committerSergey M <dstftw@gmail.com>2019-01-01 23:56:05 +0700
commitd226c560a6250d03ff5f27d5b078f894d448a0b4 (patch)
treed81cfb1ad4e3521f8fba2dd80bb02619695684c4 /youtube_dl/extractor/audiomack.py
parent8437f5089f2fac85a249c4368c2ea1415955d8b0 (diff)
Refactor code to use url_result
Diffstat (limited to 'youtube_dl/extractor/audiomack.py')
-rw-r--r--youtube_dl/extractor/audiomack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/audiomack.py b/youtube_dl/extractor/audiomack.py
index 62049b921..cc7771354 100644
--- a/youtube_dl/extractor/audiomack.py
+++ b/youtube_dl/extractor/audiomack.py
@@ -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)),