From 1783378e433194a4fd8a2af2677b98746a5c991b Mon Sep 17 00:00:00 2001 From: funkyhippo <52957110+funkyhippo@users.noreply.github.com> Date: Sat, 22 Aug 2020 07:51:34 -0700 Subject: [PATCH] Changed scanlator cache URL. (#4185) --- src/en/guya/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/en/guya/Guya.kt | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/en/guya/build.gradle b/src/en/guya/build.gradle index e8b7fa8be..decd3792f 100644 --- a/src/en/guya/build.gradle +++ b/src/en/guya/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Guya' pkgNameSuffix = "en.guya" extClass = '.Guya' - extVersionCode = 12 + extVersionCode = 13 libVersion = '1.2' } diff --git a/src/en/guya/src/eu/kanade/tachiyomi/extension/en/guya/Guya.kt b/src/en/guya/src/eu/kanade/tachiyomi/extension/en/guya/Guya.kt index 47c16cff3..c6f066edb 100644 --- a/src/en/guya/src/eu/kanade/tachiyomi/extension/en/guya/Guya.kt +++ b/src/en/guya/src/eu/kanade/tachiyomi/extension/en/guya/Guya.kt @@ -32,12 +32,12 @@ import uy.kohesive.injekt.api.get open class Guya : ConfigurableSource, HttpSource() { - override val name = "Guya" - override val baseUrl = "https://guya.moe" - override val supportsLatest = false - override val lang = "en" + final override val name = "Guya" + final override val baseUrl = "https://guya.moe" + final override val supportsLatest = false + final override val lang = "en" - private val scanlatorCacheUrl = "https://raw.githubusercontent.com/appu1232/guyamoe/master/api/data_cache/all_groups.json" + private val scanlatorCacheUrl = "$baseUrl/api/get_all_groups" override fun headersBuilder() = Headers.Builder().apply { add("User-Agent", "(Android ${Build.VERSION.RELEASE}; " +