[utils] Add deprecation_warning
See https://github.com/yt-dlp/yt-dlp/pull/2173#issuecomment-1097021515
This commit is contained in:
parent
e1eabd7beb
commit
da4db748fa
12 changed files with 67 additions and 40 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue