[audiomack] Fix typo (Closes #7936)
authorSergey M․ <dstftw@gmail.com>
Mon, 21 Dec 2015 16:51:58 +0000 (22:51 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 21 Dec 2015 16:51:58 +0000 (22:51 +0600)
youtube_dl/extractor/audiomack.py

index 693ba22c6dde0dd1760531108353ab48b1ed0fa1..3eed91279fd7b6ead45bf3ee01486eab53b91d6a 100644 (file)
@@ -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