Pārlūkot izejas kodu

[audiomack] Fix typo (Closes #7936)

Sergey M․ 10 gadi atpakaļ
vecāks
revīzija
5ef5d25b15
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      youtube_dl/extractor/audiomack.py

+ 1 - 1
youtube_dl/extractor/audiomack.py

@@ -56,7 +56,7 @@ class AudiomackIE(InfoExtractor):
 
 
         # API is inconsistent with errors
         # API is inconsistent with errors
         if 'url' not in api_response or not api_response['url'] or 'error' in api_response:
         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
         # Audiomack wraps a lot of soundcloud tracks in their branded wrapper
         # if so, pass the work off to the soundcloud extractor
         # if so, pass the work off to the soundcloud extractor