Changed scanlator cache URL. (#4185)
This commit is contained in:
parent
2bf68d25f3
commit
1783378e43
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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}; " +
|
||||||
|
|
Loading…
Reference in New Issue