diff options
author | Simon Sawicki <contact@grub4k.xyz> | 2025-01-13 00:24:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-12 23:24:22 +0000 |
commit | dade5e35c89adaad04408bfef766820dbca06ebe (patch) | |
tree | 6a16880e69ca9dd59f6583f97fb5dd1033bffb3e /yt_dlp/YoutubeDL.py | |
parent | e2ef4fece6c9742d1733e3bae408c4787765f78c (diff) |
[cleanup] Misc (#11915)
Authored by: grqz, Grub4K, seproDev
Co-authored-by: sepro <sepro@sepr0.com>
Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r-- | yt_dlp/YoutubeDL.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 178c5b951..f6155dd2e 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -283,7 +283,10 @@ class YoutubeDL: lazy_playlist: Process playlist entries as they are received. matchtitle: Download only matching titles. rejecttitle: Reject downloads for matching titles. - logger: Log messages to a logging.Logger instance. + logger: A class having a `debug`, `warning` and `error` function where + each has a single string parameter, the message to be logged. + For compatibility reasons, both debug and info messages are passed to `debug`. + A debug message will have a prefix of `[debug] ` to discern it from info messages. logtostderr: Print everything to stderr instead of stdout. consoletitle: Display progress in the console window's titlebar. writedescription: Write the video description to a .description file |