diff --git a/comictaggerlib/comiccacher.py b/comictaggerlib/comiccacher.py index e9abf41..3eb1c91 100644 --- a/comictaggerlib/comiccacher.py +++ b/comictaggerlib/comiccacher.py @@ -378,7 +378,13 @@ class ComicCacher: return results def add_issue_select_details( - self, issue_id: int, image_url: str, thumb_image_url: str, cover_date: str, site_detail_url: str + self, + source_name: str, + issue_id: int, + image_url: str, + thumb_image_url: str, + cover_date: str, + site_detail_url: str, ) -> None: con = lite.connect(self.db_file) @@ -390,6 +396,7 @@ class ComicCacher: data = { "id": issue_id, + "source_name": source_name, "super_url": image_url, "thumb_url": thumb_image_url, "cover_date": cover_date, diff --git a/comictaggerlib/comicvinetalker.py b/comictaggerlib/comicvinetalker.py index 4e79270..dabeea0 100644 --- a/comictaggerlib/comicvinetalker.py +++ b/comictaggerlib/comicvinetalker.py @@ -677,7 +677,7 @@ class ComicVineTalker: self, issue_id: int, image_url: str, thumb_url: str, cover_date: str, page_url: str ) -> None: cvc = ComicCacher() - cvc.add_issue_select_details(issue_id, image_url, thumb_url, cover_date, page_url) + cvc.add_issue_select_details(issue_id, self.source_name, image_url, thumb_url, cover_date, page_url) def fetch_alternate_cover_urls(self, issue_id: int, issue_page_url: str) -> list[str]: url_list = self.fetch_cached_alternate_cover_urls(issue_id)