parent
368afc16ee
commit
de8508ef7f
Binary file not shown.
Before Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
Binary file not shown.
Before Width: | Height: | Size: 57 KiB |
|
@ -1,28 +0,0 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.gloriousscan
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.heancms.HeanCms
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimitHost
|
||||
import okhttp3.HttpUrl.Companion.toHttpUrl
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.TimeZone
|
||||
|
||||
class GloriousScan : HeanCms(
|
||||
"Glorious Scan",
|
||||
"https://gloriousscan.com",
|
||||
"pt-BR",
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimitHost(apiUrl.toHttpUrl(), 1, 2)
|
||||
.build()
|
||||
|
||||
// Site changed from Madara to HeanCms.
|
||||
override val versionId = 2
|
||||
|
||||
override val coverPath = ""
|
||||
|
||||
override val dateFormat: SimpleDateFormat = super.dateFormat.apply {
|
||||
timeZone = TimeZone.getTimeZone("GMT+02:00")
|
||||
}
|
||||
}
|
|
@ -12,7 +12,6 @@ class HeanCmsGenerator : ThemeSourceGenerator {
|
|||
override val baseVersionCode: Int = 20
|
||||
|
||||
override val sources = listOf(
|
||||
SingleLang("Glorious Scan", "https://gloriousscan.com", "pt-BR", overrideVersionCode = 17),
|
||||
SingleLang("Omega Scans", "https://omegascans.org", "en", isNsfw = true, overrideVersionCode = 18),
|
||||
SingleLang("Perf Scan", "https://perf-scan.fr", "fr"),
|
||||
SingleLang("Reaper Scans", "https://reaperscans.net", "pt-BR", overrideVersionCode = 36),
|
||||
|
|
Loading…
Reference in New Issue