From a502c41887ef2b0d2b807c2920856102d37df734 Mon Sep 17 00:00:00 2001 From: Shrey Date: Thu, 21 May 2026 06:02:36 +0530 Subject: [PATCH] fix(faqwikius): update url (#2212) * fix(faqwikius): update site URL to include '/novel' for correct navigation * chore: bumped version of faqwiki * fix(faqwikius): remove script tags from parsed HTML to clean up novel data * fix(faqwikius): move the remove script tags from parseNovels method to parseNovel method * chore(faqwikius): rename parseNovels method to parseNovelList and parseNovel to parseNovelDetails for clarity * fix(faqwikius): reversion of previous commit --- plugins/english/faqwikius.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/english/faqwikius.ts b/plugins/english/faqwikius.ts index da88315..e786e1b 100644 --- a/plugins/english/faqwikius.ts +++ b/plugins/english/faqwikius.ts @@ -6,8 +6,8 @@ import { NovelStatus } from '@libs/novelStatus'; class FaqWikiUs implements Plugin.PluginBase { id = 'FWK.US'; name = 'Faq Wiki'; - site = 'https://faqwiki.us/'; - version = '2.0.1'; + site = 'https://faqwiki.us/novel'; + version = '3.0.1'; icon = 'src/en/faqwikius/icon.png'; parseNovels(loadedCheerio: CheerioAPI, searchTerm?: string) { @@ -57,6 +57,7 @@ class FaqWikiUs implements Plugin.PluginBase { async parseNovel(path: string): Promise { const body = await fetchApi(this.site + path).then(res => res.text()); const loadedCheerio = parseHTML(body); + loadedCheerio('script').remove(); const novel: Plugin.SourceNovel = { path,