A feature-rich command-line audio/video downloader
[dailymotion] Error spelling
Sergey M․7593fbaa126f
diff --git a/youtube_dl/extractor/dailymotion.py b/youtube_dl/extractor/dailymotion.pyindex ea1edceb1b..9cd9ff17d2 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: