Adding source_name to add_issue_select_details.
This commit is contained in:
parent
0bbf417133
commit
ec83667d77
@ -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,
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user