mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[core] Load plugins on demand (#11305)
- Adds `--no-plugin-dirs` to disable plugin loading - `--plugin-dirs` now supports post-processors Authored by: coletdjnz, Grub4K, pukkandan
This commit is contained in:
		
							
								
								
									
										10
									
								
								test/testdata/reload_plugins/yt_dlp_plugins/extractor/normal.py
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								test/testdata/reload_plugins/yt_dlp_plugins/extractor/normal.py
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| from yt_dlp.extractor.common import InfoExtractor | ||||
| 
 | ||||
| 
 | ||||
| class NormalPluginIE(InfoExtractor): | ||||
|     _VALID_URL = 'normal' | ||||
|     REPLACED = True | ||||
| 
 | ||||
| 
 | ||||
| class _IgnoreUnderscorePluginIE(InfoExtractor): | ||||
|     pass | ||||
							
								
								
									
										5
									
								
								test/testdata/reload_plugins/yt_dlp_plugins/postprocessor/normal.py
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test/testdata/reload_plugins/yt_dlp_plugins/postprocessor/normal.py
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| from yt_dlp.postprocessor.common import PostProcessor | ||||
| 
 | ||||
| 
 | ||||
| class NormalPluginPP(PostProcessor): | ||||
|     REPLACED = True | ||||
		Reference in New Issue
	
	Block a user
	 coletdjnz
					coletdjnz