diff options
Diffstat (limited to 'yt_dlp/extractor/__init__.py')
-rw-r--r-- | yt_dlp/extractor/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/extractor/__init__.py b/yt_dlp/extractor/__init__.py index 38f6df181..7d540540e 100644 --- a/yt_dlp/extractor/__init__.py +++ b/yt_dlp/extractor/__init__.py @@ -12,9 +12,6 @@ except ImportError: if not _LAZY_LOADER: from .extractors import * - - _PLUGIN_CLASSES = load_plugins('extractor', 'IE', globals()) - _ALL_CLASSES = [ klass for name, klass in globals().items() @@ -22,6 +19,9 @@ if not _LAZY_LOADER: ] _ALL_CLASSES.append(GenericIE) + _PLUGIN_CLASSES = load_plugins('extractor', 'IE', globals()) + _ALL_CLASSES = _PLUGIN_CLASSES + _ALL_CLASSES + def gen_extractor_classes(): """ Return a list of supported extractors. |