projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eb0f72
)
[dailymotion] Error spelling
author
Sergey M․
<dstftw@gmail.com>
Sat, 17 Oct 2015 19:00:37 +0000
(
01:00
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 17 Oct 2015 19:00:37 +0000
(
01:00
+0600)
youtube_dl/extractor/dailymotion.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dailymotion.py
b/youtube_dl/extractor/dailymotion.py
index ea1edceb1bb8767332a8d587b408dd5076ca79e5..9cd9ff17d2559a5648e72b1f425ba0aee5ed42b4 100644
(file)
--- a/
youtube_dl/extractor/dailymotion.py
+++ b/
youtube_dl/extractor/dailymotion.py
@@
-254,8
+254,8
@@
class DailymotionIE(DailymotionBaseInfoExtractor):
def _check_error(self, info):
if info.get('error') is not None:
- msg = 'Couldn\'t get video, Dailymotion says: %s' % info['error']['title']
-
raise ExtractorError(msg
, expected=True)
+ raise ExtractorError(
+
'%s said: %s' % (self.IE_NAME, info['error']['title'])
, expected=True)
def _get_subtitles(self, video_id, webpage):
try: