mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 22:55:18 +00:00 
			
		
		
		
	Add --force-generic-extractor
				
					
				
			For some extractors that are hard to workout a good _VALID_URL we use very vague and unrestrictive ones, e.g. just allowing anything after hostname and capturing part of URL as id. If some of these extractors happen to have an video embed of some different hoster or platform and this scenario was not handled in extractor itself we end up with inability to download this embed until extractor is fixed to support embed of this kind. Forcing downloader to use the generic extractor can be a neat temporary solution for this problem. Example: FiveTV extractor with Tvigle embed - http://www.5-tv.ru/rabota/broadcasts/48/
This commit is contained in:
		| @@ -293,6 +293,7 @@ def _real_main(argv=None): | ||||
|         'autonumber_size': opts.autonumber_size, | ||||
|         'restrictfilenames': opts.restrictfilenames, | ||||
|         'ignoreerrors': opts.ignoreerrors, | ||||
|         'force_generic_extractor': opts.force_generic_extractor, | ||||
|         'ratelimit': opts.ratelimit, | ||||
|         'nooverwrites': opts.nooverwrites, | ||||
|         'retries': opts_retries, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․