From cb508becbb40de8b70b9d1396faf05ea5269169b Mon Sep 17 00:00:00 2001 From: Chopper <156493704+choppeh@users.noreply.github.com> Date: Wed, 17 Jul 2024 07:10:59 -0300 Subject: [PATCH] LaviniaFansub: Fix chapter name (#4066) Fix chapter name --- src/tr/laviniafansub/build.gradle | 2 +- .../tachiyomi/extension/tr/laviniafansub/LaviniaFansub.kt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tr/laviniafansub/build.gradle b/src/tr/laviniafansub/build.gradle index 09daf28b4..55e437a7f 100644 --- a/src/tr/laviniafansub/build.gradle +++ b/src/tr/laviniafansub/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.LaviniaFansub' themePkg = 'madara' baseUrl = 'https://laviniafansub.com' - overrideVersionCode = 0 + overrideVersionCode = 1 isNsfw = true } diff --git a/src/tr/laviniafansub/src/eu/kanade/tachiyomi/extension/tr/laviniafansub/LaviniaFansub.kt b/src/tr/laviniafansub/src/eu/kanade/tachiyomi/extension/tr/laviniafansub/LaviniaFansub.kt index f3c53c60b..e1c58a73d 100644 --- a/src/tr/laviniafansub/src/eu/kanade/tachiyomi/extension/tr/laviniafansub/LaviniaFansub.kt +++ b/src/tr/laviniafansub/src/eu/kanade/tachiyomi/extension/tr/laviniafansub/LaviniaFansub.kt @@ -13,8 +13,11 @@ class LaviniaFansub : Madara( dateFormat = SimpleDateFormat("dd/MM/yyyy", Locale.ROOT), ) { override val useLoadMoreRequest = LoadMoreStrategy.Always + override val useNewChapterEndpoint = true + override val chapterUrlSelector = "a:not(:has(img))" + override fun pageListParse(document: Document): List { val pageList = super.pageListParse(document)