aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/__init__.py')
-rw-r--r--yt_dlp/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/__init__.py b/yt_dlp/__init__.py
index a433c4513..a445d8621 100644
--- a/yt_dlp/__init__.py
+++ b/yt_dlp/__init__.py
@@ -94,9 +94,9 @@ def print_extractor_information(opts, urls):
for ie in list_extractors(opts.age_limit):
if not ie.working():
continue
- desc = getattr(ie, 'IE_DESC', ie.IE_NAME)
- if desc is False:
+ if ie.IE_DESC is False:
continue
+ desc = ie.IE_DESC or ie.IE_NAME
if getattr(ie, 'SEARCH_KEY', None) is not None:
_SEARCHES = ('cute kittens', 'slithering pythons', 'falling cat', 'angry poodle', 'purple fish', 'running tortoise', 'sleeping bunny', 'burping cow')
_COUNTS = ('', '5', '10', 'all')