1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[theonion] Fix a small mistake in string formatting

This commit is contained in:
Naglis Jonaitis 2014-10-12 15:47:31 +03:00
parent ac20fc047a
commit d18be55533

View File

@ -36,8 +36,7 @@ def _real_extract(self, url):
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: