Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions plugins/english/faqwikius.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -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) {
Expand DownExpand Up@@ -57,6 +57,7 @@ class FaqWikiUs implements Plugin.PluginBase {
async parseNovel(path: string): Promise<Plugin.SourceNovel> {
const body = await fetchApi(this.site + path).then(res => res.text());
const loadedCheerio = parseHTML(body);
loadedCheerio('script').remove();

const novel: Plugin.SourceNovel = {
path,
Expand Down
Loading