mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-25 01:07:19 +00:00
[theonion] Fix a small mistake in string formatting
This commit is contained in:
parent
ac20fc047a
commit
d18be55533
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue