aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/dailymotion.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-10-18 01:00:37 +0600
committerSergey M․ <dstftw@gmail.com>2015-10-18 01:00:37 +0600
commit7593fbaa126f8bf14eecff7f103cb497e3d31de5 (patch)
tree2831e53784321d2022ef5103f66984e0c518072f /youtube_dl/extractor/dailymotion.py
parent2eb0f72a0ea6bdbf6889efe34027a534a3473a03 (diff)
[dailymotion] Error spelling
Diffstat (limited to 'youtube_dl/extractor/dailymotion.py')
-rw-r--r--youtube_dl/extractor/dailymotion.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/dailymotion.py b/youtube_dl/extractor/dailymotion.py
index ea1edceb1..9cd9ff17d 100644
--- 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: