From 50672cc2faf8d91ac7cd7eee52446dd7dcab76bb Mon Sep 17 00:00:00 2001 From: FAFITS Date: Sun, 24 May 2026 15:06:15 +0700 Subject: [PATCH] Fix JukaNovel Raw --- plugins/vietnamese/JukaNovel/index.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/vietnamese/JukaNovel/index.ts b/plugins/vietnamese/JukaNovel/index.ts index 44db6903..09370d9f 100644 --- a/plugins/vietnamese/JukaNovel/index.ts +++ b/plugins/vietnamese/JukaNovel/index.ts @@ -12,7 +12,7 @@ class JukaNovelPlugin implements Plugin.PluginBase { name = 'JukaNovel'; icon = 'src/vi/jukanovel/icon.png'; site = 'https://jukaza.site'; - version = '1.0.7'; + version = '1.0.8'; pluginSettings: Plugin.PluginSettings = { preferRaw: { @@ -191,6 +191,11 @@ class JukaNovelPlugin implements Plugin.PluginBase { } if (!content) return ''; + + const $ = loadCheerio(content); + $('.jkz-trap').remove(); + content = $('body').html() || ''; + const notes: string[] = []; let regex: RegExp | null = null; try {