aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/theonion.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/theonion.py b/youtube_dl/extractor/theonion.py
index 8e4c3414b..b65d8e03f 100644
--- 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: