Fix Indowebnovel (#881)

* Update indowebnovel.ts

* update plugins/indonesian/indowebnovel.ts

* create plugins/indonesian/indowebnovel.js

* Delete the file at 'plugins/indonesian/indowebnovel.js'
This commit is contained in:
theAngka
2024-04-11 16:02:46 +08:00
committed by GitHub
parent ea2f098e0b
commit ae54c280cc
+3 -3
View File
@@ -7,8 +7,8 @@ class IndoWebNovel implements Plugin.PluginBase {
id = 'IDWN.id'; id = 'IDWN.id';
name = 'IndoWebNovel'; name = 'IndoWebNovel';
icon = 'src/id/indowebnovel/icon.png'; icon = 'src/id/indowebnovel/icon.png';
site = 'https://indowebnovel.id/'; site = 'https://indowebnovel.id/id';
version = '1.2.0'; version = '1.2.1';
parseNovels(loadedCheerio: CheerioAPI) { parseNovels(loadedCheerio: CheerioAPI) {
const novels: Plugin.NovelItem[] = []; const novels: Plugin.NovelItem[] = [];
@@ -105,7 +105,7 @@ class IndoWebNovel implements Plugin.PluginBase {
const loadedCheerio = parseHTML(body); const loadedCheerio = parseHTML(body);
const chapterText = loadedCheerio('.readerss').html() || ''; const chapterText = loadedCheerio('.readersss').html() || '';
return chapterText; return chapterText;
} }