parent
98f69886ee
commit
c1ed9e2c86
|
@ -0,0 +1,26 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.aiinscan
|
||||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class AiinScan : Madara(
|
||||
"Aiin Scan",
|
||||
"https://aiinscan.xyz",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
|
||||
.build()
|
||||
|
||||
override val useNewChapterEndpoint: Boolean = true
|
||||
|
||||
override val altName: String = "Nome alternativo: "
|
||||
|
||||
override fun popularMangaSelector() = "div.page-item-detail.manga"
|
||||
}
|
|
@ -29,6 +29,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("AZManhwa", "https://azmanhwa.net", "en"),
|
||||
SingleLang("Adonis Fansub", "https://manga.adonisfansub.com", "tr", overrideVersionCode = 1),
|
||||
SingleLang("Agent of Change Translations", "https://aoc.moe", "en", overrideVersionCode = 1),
|
||||
SingleLang("Aiin Scan", "https://aiinscan.xyz", "pt-BR"),
|
||||
SingleLang("AkuManga", "https://akumanga.com", "ar", overrideVersionCode = 1),
|
||||
SingleLang("AllPornComic", "https://allporncomic.com", "en", isNsfw = true),
|
||||
SingleLang("Anime Center Scan", "https://animecenterscan.com", "pt-BR", isNsfw = true),
|
||||
|
|
Loading…
Reference in New Issue