make thumbnail id a debugger log

This commit is contained in:
Jesse Bannon 2023-02-20 10:17:46 -08:00
parent 2b426e7500
commit 1450d36d8d

View file

@ -650,7 +650,7 @@ class Downloader(DownloadArchiver, Generic[DownloaderOptionsT], ABC):
continue continue
if (thumbnail_url := parent.get_thumbnail_url(thumbnail_id=thumbnail_id)) is None: 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 continue
if self._download_thumbnail( if self._download_thumbnail(
@ -660,7 +660,7 @@ class Downloader(DownloadArchiver, Generic[DownloaderOptionsT], ABC):
self.save_file(file_name=thumbnail_name) self.save_file(file_name=thumbnail_name)
self._url_state.thumbnails_downloaded.add(thumbnail_name) self._url_state.thumbnails_downloaded.add(thumbnail_name)
else: 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): def _download_url_thumbnails(self, collection_url: UrlValidator, entry: Entry):
""" """