aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/__pyinstaller/hook-yt_dlp.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/__pyinstaller/hook-yt_dlp.py')
-rw-r--r--yt_dlp/__pyinstaller/hook-yt_dlp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/__pyinstaller/hook-yt_dlp.py b/yt_dlp/__pyinstaller/hook-yt_dlp.py
index 63dcdffe0..88c2b8b28 100644
--- a/yt_dlp/__pyinstaller/hook-yt_dlp.py
+++ b/yt_dlp/__pyinstaller/hook-yt_dlp.py
@@ -18,7 +18,8 @@ def pycryptodome_module():
def get_hidden_imports():
- yield 'yt_dlp.compat._legacy'
+ yield from ('yt_dlp.compat._legacy', 'yt_dlp.compat._deprecated')
+ yield from ('yt_dlp.utils._legacy', 'yt_dlp.utils._deprecated')
yield pycryptodome_module()
yield from collect_submodules('websockets')
# These are auto-detected, but explicitly add them just in case