mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-03 00:25:08 +00:00
[cleanup] Add deprecation warnings
This commit is contained in:
@ -38,5 +38,10 @@ class ExecPP(PostProcessor):
|
||||
return [], info
|
||||
|
||||
|
||||
class ExecAfterDownloadPP(ExecPP): # for backward compatibility
|
||||
pass
|
||||
# Deprecated
|
||||
class ExecAfterDownloadPP(ExecPP):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.deprecation_warning(
|
||||
'yt_dlp.postprocessor.ExecAfterDownloadPP is deprecated '
|
||||
'and may be removed in a future version. Use yt_dlp.postprocessor.ExecPP instead')
|
||||
|
Reference in New Issue
Block a user