mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-16 21:18:53 +00:00
don't always call load_all_plugins
This commit is contained in:
@@ -88,7 +88,7 @@ class FakeYDL(YoutubeDL):
|
||||
|
||||
|
||||
def gettestcases(include_onlymatching=False):
|
||||
if os.environ.get('_YT_DLP_TEST_DO_LOAD_PLUGINS'):
|
||||
if not os.environ.get('YTDLP_NO_PLUGINS'):
|
||||
import yt_dlp.plugins as plugins
|
||||
plugins.load_all_plugins()
|
||||
for ie in yt_dlp.extractor.gen_extractors():
|
||||
|
||||
Reference in New Issue
Block a user