From 5e102d4f094c4a969284d01ebe25b71e572bc64e Mon Sep 17 00:00:00 2001 From: Palloxin <75091899+Palloxin@users.noreply.github.com> Date: Sat, 1 Mar 2025 04:18:21 +0100 Subject: [PATCH] Fix remove spam bxnovel (#1500) * Fix remove spam bxnovel * Update sources.json --- scripts/multisrc/madara/sources.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/multisrc/madara/sources.json b/scripts/multisrc/madara/sources.json index 0f21ffa..44cca4a 100644 --- a/scripts/multisrc/madara/sources.json +++ b/scripts/multisrc/madara/sources.json @@ -5,8 +5,8 @@ "sourceName": "BoxNovel", "options": { "useNewChapterEndpoint": true, - "customJs": "chapterText.remove('div:has(a)')", - "versionIncrements": 5 + "customJs": "chapterText.find('div:has(a)').remove()", + "versionIncrements": 6 } }, { @@ -542,4 +542,4 @@ "useNewChapterEndpoint": true } } -] \ No newline at end of file +]