mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	Add option --ignore-no-formats-error
				
					
				
			* Ignores the "no video format" and similar errors * Experimental - Some extractors may still throw these errors
This commit is contained in:
		| @@ -8,7 +8,6 @@ from ..compat import ( | ||||
| ) | ||||
| from ..utils import ( | ||||
|     int_or_none, | ||||
|     ExtractorError, | ||||
| ) | ||||
|  | ||||
|  | ||||
| @@ -125,13 +124,13 @@ class VubeIE(InfoExtractor): | ||||
|                 }) | ||||
|             formats.append(fmt) | ||||
|  | ||||
|         self._sort_formats(formats) | ||||
|  | ||||
|         if not formats and video.get('vst') == 'dmca': | ||||
|             raise ExtractorError( | ||||
|             self.raise_no_formats( | ||||
|                 'This video has been removed in response to a complaint received under the US Digital Millennium Copyright Act.', | ||||
|                 expected=True) | ||||
|  | ||||
|         self._sort_formats(formats) | ||||
|  | ||||
|         title = video['title'] | ||||
|         description = video.get('description') | ||||
|         thumbnail = self._proto_relative_url(video.get('thumbnail_src'), scheme='http:') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan