Add a note on disabling the auto-update for yt-dlp

This commit is contained in:
Patrick Robertson
2025-03-07 11:44:24 +00:00
parent 478f0b2171
commit 2c5e138263

View File

@@ -36,6 +36,7 @@ class GenericExtractor(Extractor):
def update_ytdlp(self):
logger.info("Checking and updating yt-dlp...")
logger.info(f"Tip: change the 'ytdlp_update_interval' setting to control how often yt-dlp is updated. Set to -1 to disable or 0 to enable on every run. Current setting: {self.ytdlp_update_interval}")
from importlib.metadata import version as get_version
old_version = get_version("yt-dlp")
try: