mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-06 01:44:51 +00:00
[utils] Add deprecation_warning
See https://github.com/yt-dlp/yt-dlp/pull/2173#issuecomment-1097021515
This commit is contained in:
@@ -14,4 +14,5 @@ if __package__ is None and not hasattr(sys, 'frozen'):
|
||||
import yt_dlp
|
||||
|
||||
if __name__ == '__main__':
|
||||
yt_dlp._IN_CLI = True
|
||||
yt_dlp.main()
|
||||
|
Reference in New Issue
Block a user