#182 Changed filename to instead of remote filename have the format server-internalId.fileFormat

This commit is contained in:
2024-05-26 22:51:46 +02:00
parent 57f1e037ef
commit 7ceb9cd4cb
8 changed files with 11 additions and 11 deletions

View File

@ -86,7 +86,7 @@ public class Bato : MangaConnector
string posterUrl = document.DocumentNode.SelectNodes("//img")
.First(child => child.GetAttributeValue("data-hk", "") == "0-1-0").GetAttributeValue("src", "").Replace("&", "&");
string coverFileNameInCache = SaveCoverImageToCache(posterUrl, RequestType.MangaCover);
string coverFileNameInCache = SaveCoverImageToCache(posterUrl, publicationId, RequestType.MangaCover);
List<HtmlNode> genreNodes = document.DocumentNode.SelectSingleNode("//b[text()='Genres:']/..").SelectNodes("span").ToList();
string[] tags = genreNodes.Select(node => node.FirstChild.InnerText).ToArray();