]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/extractors.py
Improve plugin architecture (#5553)
[yt-dlp.git] / yt_dlp / extractor / extractors.py
index 610e02f9061ee203c80f839d4e5229d2cc8b8187..beda02917e3f7c050496d1e617e27b4b9b54e317 100644 (file)
@@ -1,10 +1,10 @@
 import contextlib
 import os
 
-from ..utils import load_plugins
+from ..plugins import load_plugins
 
 # NB: Must be before other imports so that plugins can be correctly injected
-_PLUGIN_CLASSES = load_plugins('extractor', 'IE', {})
+_PLUGIN_CLASSES = load_plugins('extractor', 'IE')
 
 _LAZY_LOADER = False
 if not os.environ.get('YTDLP_NO_LAZY_EXTRACTORS'):