commit 5ef5d25b150a383362aab046394849ed523b3730
parent 0f15ad7b9b6cae4e8719d2b960d8e882963f7a5b
Author: Sergey M․ <dstftw@gmail.com>
Date: Mon, 21 Dec 2015 22:51:58 +0600
[audiomack] Fix typo (Closes #7936)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/audiomack.py b/youtube_dl/extractor/audiomack.py
@@ -56,7 +56,7 @@ class AudiomackIE(InfoExtractor):
# API is inconsistent with errors
if 'url' not in api_response or not api_response['url'] or 'error' in api_response:
- raise ExtractorError('Invalid url %s', url)
+ raise ExtractorError('Invalid url %s' % url)
# Audiomack wraps a lot of soundcloud tracks in their branded wrapper
# if so, pass the work off to the soundcloud extractor