From ab800d59c89a2d8e82762564398c35a03b320f38 Mon Sep 17 00:00:00 2001 From: kana-shii <79055104+kana-shii@users.noreply.github.com> Date: Sat, 30 Nov 2024 14:58:55 -0300 Subject: [PATCH] Batoto regex update (#6379) regex update --- src/all/batoto/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/all/batoto/BatoTo.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/all/batoto/build.gradle b/src/all/batoto/build.gradle index db38c6c83..5fd9f18c6 100644 --- a/src/all/batoto/build.gradle +++ b/src/all/batoto/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Bato.to' extClass = '.BatoToFactory' - extVersionCode = 41 + extVersionCode = 42 isNsfw = true } diff --git a/src/all/batoto/src/eu/kanade/tachiyomi/extension/all/batoto/BatoTo.kt b/src/all/batoto/src/eu/kanade/tachiyomi/extension/all/batoto/BatoTo.kt index 94f0ac0a6..464ac55d2 100644 --- a/src/all/batoto/src/eu/kanade/tachiyomi/extension/all/batoto/BatoTo.kt +++ b/src/all/batoto/src/eu/kanade/tachiyomi/extension/all/batoto/BatoTo.kt @@ -323,7 +323,7 @@ open class BatoTo( return super.mangaDetailsRequest(manga) } private var titleRegex: Regex = - Regex("(?:\\([^()]*\\)|\\{[^{}]*\\}|\\[(?:(?!]).)*]|«[^»]*»|〘[^〙]*〙|「[^」]*」|『[^』]*』|≪[^≫]*≫|﹛[^﹜]*﹜|〖[^〖〗]*〗|𖤍.+?𖤍|《[^》]*》|/.+?|⌜.+?⌝)\\s*") + Regex("(?:\\([^()]*\\)|\\{[^{}]*\\}|\\[(?:(?!]).)*]|«[^»]*»|〘[^〙]*〙|「[^」]*」|『[^』]*』|≪[^≫]*≫|﹛[^﹜]*﹜|〖[^〖〗]*〗|𖤍.+?𖤍|《[^》]*》|⌜.+?⌝|⟨[^⟩]*⟩|/.+)") override fun mangaDetailsParse(document: Document): SManga { val infoElement = document.select("div#mainer div.container-fluid")