add log output for Mangahere
https://github.com/C9Glax/tranga/issues/69
This commit is contained in:
parent
bc10136331
commit
200a22228f
@ -173,6 +173,7 @@ public class MangaHere : MangaConnector
|
|||||||
images = requestResult.htmlDocument.DocumentNode
|
images = requestResult.htmlDocument.DocumentNode
|
||||||
.SelectNodes("//a[contains(@href, '/manga/')]")
|
.SelectNodes("//a[contains(@href, '/manga/')]")
|
||||||
.MaxBy(node => node.GetAttributeValue("data-page", 0))!.GetAttributeValue("data-page", 0);
|
.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)
|
if (progressToken is not null)
|
||||||
{
|
{
|
||||||
progressToken.increments = images * 2;//we also have to download the images later
|
progressToken.increments = images * 2;//we also have to download the images later
|
||||||
|
Loading…
Reference in New Issue
Block a user