minor log messages update

This commit is contained in:
arabcoders 2025-04-06 01:50:18 +03:00
parent 2fedc6d018
commit 4966461cb4
2 changed files with 4 additions and 3 deletions

View file

@ -402,7 +402,6 @@ class DownloadQueue(metaclass=Singleton):
return {"status": "error", "msg": message}
started = time.perf_counter()
LOG.debug(f"extract_info: checking '{item.url}'.")
if item.cookies:
try:
@ -416,6 +415,8 @@ class DownloadQueue(metaclass=Singleton):
LOG.error(msg)
return {"status": "error", "msg": msg}
LOG.info(f"Checking '{item.url}' with {'cookies' if yt_conf.get('cookiefile') else 'no cookies'}.")
entry = await asyncio.wait_for(
fut=asyncio.get_running_loop().run_in_executor(
None,

View file

@ -196,8 +196,6 @@ class YTDLPOpts(metaclass=Singleton):
data = merge_dict(user_cli, merge_dict(self._item_opts, merge_dict(self._preset_opts, default_opts)))
LOG.debug("YTDLP options: '%s'.", data)
if not keep:
self.presets_opts = {}
self._item_opts = {}
@ -211,4 +209,6 @@ class YTDLPOpts(metaclass=Singleton):
if data["format"] == "-best":
data["format"] = data["format"][1:]
LOG.debug(f"Parsed yt-dlp options are: '{data!s}'.")
return data