add log output for Mangahere

https://github.com/C9Glax/tranga/issues/69
This commit is contained in:
Glax 2024-08-08 21:02:13 +02:00
parent bc10136331
commit 200a22228f

View File

@ -173,6 +173,7 @@ public class MangaHere : MangaConnector
images = requestResult.htmlDocument.DocumentNode
.SelectNodes("//a[contains(@href, '/manga/')]")
.MaxBy(node => node.GetAttributeValue("data-page", 0))!.GetAttributeValue("data-page", 0);
logger?.WriteLine($"MangaHere speciality: Get Image-url {downloaded}/{images}");
if (progressToken is not null)
{
progressToken.increments = images * 2;//we also have to download the images later