From 8e09de0654ac71ad053f9353a9833f342c089451 Mon Sep 17 00:00:00 2001 From: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com> Date: Thu, 15 Aug 2024 09:16:21 +0500 Subject: [PATCH] yanpfansub: update domain (#4615) --- src/pt/yanpfansub/build.gradle | 4 ++-- .../kanade/tachiyomi/extension/pt/yanpfansub/YANPFansub.kt | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pt/yanpfansub/build.gradle b/src/pt/yanpfansub/build.gradle index 63574ca66..2ead33c34 100644 --- a/src/pt/yanpfansub/build.gradle +++ b/src/pt/yanpfansub/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'YANP Fansub' extClass = '.YANPFansub' themePkg = 'madara' - baseUrl = 'https://yanpfansub.com' - overrideVersionCode = 1 + baseUrl = 'https://trisalyanp.com' + overrideVersionCode = 2 isNsfw = true } diff --git a/src/pt/yanpfansub/src/eu/kanade/tachiyomi/extension/pt/yanpfansub/YANPFansub.kt b/src/pt/yanpfansub/src/eu/kanade/tachiyomi/extension/pt/yanpfansub/YANPFansub.kt index 6b468f1ef..d5e1f345b 100644 --- a/src/pt/yanpfansub/src/eu/kanade/tachiyomi/extension/pt/yanpfansub/YANPFansub.kt +++ b/src/pt/yanpfansub/src/eu/kanade/tachiyomi/extension/pt/yanpfansub/YANPFansub.kt @@ -12,9 +12,9 @@ import java.util.concurrent.TimeUnit class YANPFansub : Madara( "YANP Fansub", - "https://yanpfansub.com", + "https://trisalyanp.com", "pt-BR", - SimpleDateFormat("MMMM dd, yyyy", Locale("pt", "BR")), + SimpleDateFormat("d 'de' MMMM 'de' yyyy", Locale("pt", "BR")), ) { // Scanlator changed the theme from WpMangaReader to Madara. @@ -38,4 +38,6 @@ class YANPFansub : Madara( // Page has custom link to scan website. override val popularMangaUrlSelector = "div.post-title a:not([target])" + + override val useNewChapterEndpoint = true }