Changed scanlator cache URL. (#4185)

This commit is contained in:
funkyhippo 2020-08-22 07:51:34 -07:00 committed by GitHub
parent 2bf68d25f3
commit 1783378e43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Guya' extName = 'Guya'
pkgNameSuffix = "en.guya" pkgNameSuffix = "en.guya"
extClass = '.Guya' extClass = '.Guya'
extVersionCode = 12 extVersionCode = 13
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -32,12 +32,12 @@ import uy.kohesive.injekt.api.get
open class Guya : ConfigurableSource, HttpSource() { open class Guya : ConfigurableSource, HttpSource() {
override val name = "Guya" final override val name = "Guya"
override val baseUrl = "https://guya.moe" final override val baseUrl = "https://guya.moe"
override val supportsLatest = false final override val supportsLatest = false
override val lang = "en" 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 { override fun headersBuilder() = Headers.Builder().apply {
add("User-Agent", "(Android ${Build.VERSION.RELEASE}; " + add("User-Agent", "(Android ${Build.VERSION.RELEASE}; " +