diff options
author | Naglis Jonaitis <njonaitis@gmail.com> | 2014-10-12 15:47:31 +0300 |
---|---|---|
committer | Naglis Jonaitis <njonaitis@gmail.com> | 2014-10-12 15:47:31 +0300 |
commit | d18be55533a0a57ca365c3119571e0ab2566c48d (patch) | |
tree | 474957c086aed8504b2abd759a76231daa6cf1ee /youtube_dl/extractor | |
parent | ac20fc047a25c2a188df9060616149bc36e27a9d (diff) |
[theonion] Fix a small mistake in string formatting
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/theonion.py | 3 |
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: |