From 3153479ce9e26ab6000d41e7b867f49840870e3b Mon Sep 17 00:00:00 2001 From: gamebeaker Date: Wed, 4 Sep 2024 04:22:06 +0200 Subject: [PATCH] update 69shu --- plugin/js/parsers/69shuParser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/js/parsers/69shuParser.js b/plugin/js/parsers/69shuParser.js index 4ce6f500..a692fd98 100644 --- a/plugin/js/parsers/69shuParser.js +++ b/plugin/js/parsers/69shuParser.js @@ -14,8 +14,8 @@ class ShuParser extends Parser{ async getChapterUrls(dom) { let tocUrl = dom.querySelector("a.more-btn").href; let toc = (await HttpClient.wrapFetch(tocUrl, this.makeOptions())).responseXML; - let menu = toc.querySelector("#catalog"); - return util.hyperlinksToChapterList(menu); + let menu = toc.querySelector("#catalog ul"); + return util.hyperlinksToChapterList(menu).reverse(); } findContent(dom) {