From 957debea011705f7df9d7b138b08af504e68287f Mon Sep 17 00:00:00 2001 From: Glax Date: Sun, 27 Oct 2024 02:22:58 +0200 Subject: [PATCH] Mangahere change list-2 to list-1 in selector --- Tranga/MangaConnectors/MangaHere.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tranga/MangaConnectors/MangaHere.cs b/Tranga/MangaConnectors/MangaHere.cs index 2cf0c22..000b07a 100644 --- a/Tranga/MangaConnectors/MangaHere.cs +++ b/Tranga/MangaConnectors/MangaHere.cs @@ -117,7 +117,7 @@ public class MangaHere : MangaConnector if ((int)requestResult.statusCode < 200 || (int)requestResult.statusCode >= 300 || requestResult.htmlDocument is null) return Array.Empty(); - List urls = requestResult.htmlDocument.DocumentNode.SelectNodes("//div[@id='list-2']/ul//li//a[contains(@href, '/manga/')]") + List urls = requestResult.htmlDocument.DocumentNode.SelectNodes("//div[@id='list-1']/ul//li//a[contains(@href, '/manga/')]") .Select(node => node.GetAttributeValue("href", "")).ToList(); Regex chapterRex = new(@".*\/manga\/[a-zA-Z0-9\-\._\~\!\$\&\'\(\)\*\+\,\;\=\:\@]+\/v([0-9(TBD)]+)\/c([0-9\.]+)\/.*");