Add a new source to Madara. (#13578)
This commit is contained in:
parent
6def50a7c4
commit
19089a3c4f
|
@ -0,0 +1,22 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.gloriousscan
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class GloriousScan : Madara(
|
||||
"Glorious Scan",
|
||||
"https://gloriousscan.com",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||
.build()
|
||||
|
||||
override val useNewChapterEndpoint = true
|
||||
}
|
|
@ -119,6 +119,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Gatemanga", "https://gatemanga.com", "ar", overrideVersionCode = 1),
|
||||
SingleLang("GeassToon", "https://geasstoon.com", "tr"),
|
||||
SingleLang("Gemanga", "https://gemanga.com", "ar", overrideVersionCode = 2),
|
||||
SingleLang("Glorious Scan", "https://gloriousscan.com", "pt-BR"),
|
||||
SingleLang("Glory Manga", "https://glorymanga.com", "tr"),
|
||||
SingleLang("Glory Scans", "https://gloryscans.com", "tr", isNsfw = true),
|
||||
SingleLang("Gogoscans", "https://www.gogoscans.com", "en"),
|
||||
|
|
Loading…
Reference in New Issue