mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 22:55:18 +00:00 
			
		
		
		
	[dailymotion] Error spelling
This commit is contained in:
		| @@ -254,8 +254,8 @@ class DailymotionIE(DailymotionBaseInfoExtractor): | |||||||
|  |  | ||||||
|     def _check_error(self, info): |     def _check_error(self, info): | ||||||
|         if info.get('error') is not None: |         if info.get('error') is not None: | ||||||
|             msg = 'Couldn\'t get video, Dailymotion says: %s' % info['error']['title'] |             raise ExtractorError( | ||||||
|             raise ExtractorError(msg, expected=True) |                 '%s said: %s' % (self.IE_NAME, info['error']['title']), expected=True) | ||||||
|  |  | ||||||
|     def _get_subtitles(self, video_id, webpage): |     def _get_subtitles(self, video_id, webpage): | ||||||
|         try: |         try: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․