From f8807675d60d6c91c4fad2882982d36780a7eb57 Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Sat, 29 Oct 2022 11:02:21 -0700 Subject: [PATCH] Cache issue info --- comictaggerlib/comicvinetalker.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/comictaggerlib/comicvinetalker.py b/comictaggerlib/comicvinetalker.py index 3ff3627..e0daaf8 100644 --- a/comictaggerlib/comicvinetalker.py +++ b/comictaggerlib/comicvinetalker.py @@ -407,6 +407,10 @@ class ComicVineTalker: self.repair_urls(filtered_issues_result) + cvc = ComicCacher() + for c in filtered_issues_result: + cvc.add_volume_issues_info(self.source_name, c["volume"]["id"], [c]) + return filtered_issues_result def fetch_issue_data(self, series_id: int, issue_number: str, settings: ComicTaggerSettings) -> GenericMetadata: