1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-10-31 22:44:32 +01:00

[dailymotion] Error spelling

This commit is contained in:
Sergey M․ 2015-10-18 01:00:37 +06:00
parent 2eb0f72a0e
commit 7593fbaa12

View File

@ -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: