From ac53bd65ff1e46387e0d67bea8128772d0a291b8 Mon Sep 17 00:00:00 2001 From: Chopper <156493704+choppeh@users.noreply.github.com> Date: Sun, 18 Aug 2024 06:26:07 -0300 Subject: [PATCH] YonaBar: Update domain (#4668) Update domain --- src/ar/yonabar/build.gradle | 4 ++-- .../tachiyomi/extension/ar/yonabar/YonaBar.kt | 14 +++++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/ar/yonabar/build.gradle b/src/ar/yonabar/build.gradle index 1bb0e6d5e..6f7b9a0c2 100644 --- a/src/ar/yonabar/build.gradle +++ b/src/ar/yonabar/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'YonaBar' extClass = '.YonaBar' themePkg = 'madara' - baseUrl = 'https://yonabar.com' - overrideVersionCode = 2 + baseUrl = 'https://yonabar.xyz' + overrideVersionCode = 3 isNsfw = true } diff --git a/src/ar/yonabar/src/eu/kanade/tachiyomi/extension/ar/yonabar/YonaBar.kt b/src/ar/yonabar/src/eu/kanade/tachiyomi/extension/ar/yonabar/YonaBar.kt index 216a0db21..4b05e30fb 100644 --- a/src/ar/yonabar/src/eu/kanade/tachiyomi/extension/ar/yonabar/YonaBar.kt +++ b/src/ar/yonabar/src/eu/kanade/tachiyomi/extension/ar/yonabar/YonaBar.kt @@ -1,7 +1,19 @@ package eu.kanade.tachiyomi.extension.ar.yonabar import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.network.interceptor.rateLimit import java.text.SimpleDateFormat import java.util.Locale -class YonaBar : Madara("YonaBar", "https://yonabar.com", "ar", SimpleDateFormat("yyyy-MM-dd", Locale("ar"))) +class YonaBar : Madara( + "YonaBar", + "https://yonabar.xyz", + "ar", + SimpleDateFormat("MMM dd, yyyy", Locale("ar")), +) { + override val client = super.client.newBuilder() + .rateLimit(3) + .build() + + override val mangaSubString = "yaoi" +}