commit: d18be55533a0a57ca365c3119571e0ab2566c48d
parent ac20fc047a25c2a188df9060616149bc36e27a9d
Author: Naglis Jonaitis <njonaitis@gmail.com>
Date: Sun, 12 Oct 2014 15:47:31 +0300
[theonion] Fix a small mistake in string formatting
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/youtube_dl/extractor/theonion.py b/youtube_dl/extractor/theonion.py
@@ -36,8 +36,7 @@ class TheOnionIE(InfoExtractor):
sources = re.findall(r'<source src="([^"]+)" type="([^"]+)"', webpage)
if not sources:
raise ExtractorError(
- 'No sources found for video %s' % (self.IE_NAME, video_id),
- expected=True)
+ 'No sources found for video %s' % video_id, expected=True)
formats = []
for src, type_ in sources: