From 1450d36d8d8b9b572453c4f30659586b3e8b1bd6 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Mon, 20 Feb 2023 10:17:46 -0800 Subject: [PATCH] make thumbnail id a debugger log --- src/ytdl_sub/downloaders/downloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ytdl_sub/downloaders/downloader.py b/src/ytdl_sub/downloaders/downloader.py index 7497e2d4..fef21185 100644 --- a/src/ytdl_sub/downloaders/downloader.py +++ b/src/ytdl_sub/downloaders/downloader.py @@ -650,7 +650,7 @@ class Downloader(DownloadArchiver, Generic[DownloaderOptionsT], ABC): continue if (thumbnail_url := parent.get_thumbnail_url(thumbnail_id=thumbnail_id)) is None: - download_logger.warning("Failed to find thumbnail id '%s'", thumbnail_id) + download_logger.debug("Failed to find thumbnail id '%s'", thumbnail_id) continue if self._download_thumbnail( @@ -660,7 +660,7 @@ class Downloader(DownloadArchiver, Generic[DownloaderOptionsT], ABC): self.save_file(file_name=thumbnail_name) self._url_state.thumbnails_downloaded.add(thumbnail_name) else: - download_logger.warning("Failed to download thumbnail id '%s'", thumbnail_id) + download_logger.debug("Failed to download thumbnail id '%s'", thumbnail_id) def _download_url_thumbnails(self, collection_url: UrlValidator, entry: Entry): """