mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-10 01:20:44 +00:00
[theonion] Fix a small mistake in string formatting
This commit is contained in:
parent
ac20fc047a
commit
d18be55533
|
@ -36,8 +36,7 @@ class TheOnionIE(InfoExtractor):
|
||||||
sources = re.findall(r'<source src="([^"]+)" type="([^"]+)"', webpage)
|
sources = re.findall(r'<source src="([^"]+)" type="([^"]+)"', webpage)
|
||||||
if not sources:
|
if not sources:
|
||||||
raise ExtractorError(
|
raise ExtractorError(
|
||||||
'No sources found for video %s' % (self.IE_NAME, video_id),
|
'No sources found for video %s' % video_id, expected=True)
|
||||||
expected=True)
|
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
for src, type_ in sources:
|
for src, type_ in sources:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user