Skip to content

A feature-rich command-line audio/video downloader

Seperate import of lazy_extractors from that of normal extractors

pukkandan0748b3317bb0
diff --git a/youtube_dlc/extractor/__init__.py b/youtube_dlc/extractor/__init__.py
index 56251384d8..38f6df1816 100644
--- a/youtube_dlc/extractor/__init__.py
+++ b/youtube_dlc/extractor/__init__.py
@@ -7,9 +7,10 @@ try:
from .lazy_extractors import _ALL_CLASSES
_LAZY_LOADER = True
_PLUGIN_CLASSES = []
-
except ImportError:
_LAZY_LOADER = False
+
+if not _LAZY_LOADER:
from .extractors import *
_PLUGIN_CLASSES = load_plugins('extractor', 'IE', globals())