Add sources: royalroad & pawread (#823)

* royalroad & pawread take 2

* remove console.log
This commit is contained in:
K1ngfish3r
2024-03-09 17:39:43 +08:00
committed by GitHub
parent 4842366870
commit 05e80588a0
6 changed files with 391 additions and 2 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ class NovelBuddy implements Plugin.PluginBase {
const chapterListUrl = `${this.site}api/manga/${id}/chapters?source=detail`;
const data = await fetchApi(chapterListUrl);
const chapterlist = await data.text();
console.log(chapterlist);
loadedCheerio = parseHTML(chapterlist);
loadedCheerio("li").each((i,el) => {