projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac20fc0
)
[theonion] Fix a small mistake in string formatting
author
Naglis Jonaitis
<njonaitis@gmail.com>
Sun, 12 Oct 2014 12:47:31 +0000
(15:47 +0300)
committer
Naglis Jonaitis
<njonaitis@gmail.com>
Sun, 12 Oct 2014 12:47:31 +0000
(15:47 +0300)
youtube_dl/extractor/theonion.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/theonion.py
b/youtube_dl/extractor/theonion.py
index 8e4c3414b95470a1e636cb5c8debf22069000b62..b65d8e03f7741a712001099c601ee354830a74a1 100644
(file)
--- 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: