InfraFandub: Update domain, add rateLimit and fix status selector (#19484)

Update domain
This commit is contained in:
bapeey 2023-12-30 16:53:51 -05:00 committed by GitHub
parent 909255233d
commit badca890bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,23 @@
package eu.kanade.tachiyomi.extension.es.infrafandub
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 InfraFandub : Madara(
"InfraFandub",
"https://infrafandub.com",
"es",
SimpleDateFormat("dd/MM/yyyy", Locale("es")),
) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(2, 1, TimeUnit.SECONDS)
.build()
override val useNewChapterEndpoint = true
override val mangaDetailsSelectorStatus = "div.post-content_item:contains(Estado) div.summary-content"
}

View File

@ -155,7 +155,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Illusion Scan", "https://illusionscan.com", "pt-BR", isNsfw = true),
SingleLang("Immortal Updates", "https://immortalupdates.com", "en", overrideVersionCode = 6),
SingleLang("Império Scans", "https://imperioscans.com.br", "pt-BR", className = "ImperioScans", overrideVersionCode = 1),
SingleLang("InfraFandub", "https://infrafandub.xyz", "es"),
SingleLang("InfraFandub", "https://infrafandub.com", "es", overrideVersionCode = 1),
SingleLang("Inmortal Scan", "https://manga.mundodrama.site", "es"),
SingleLang("InstaManhwa", "https://www.instamanhwa.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("IsekaiScan.com", "https://isekaiscan.com", "en", className = "IsekaiScanCom", overrideVersionCode = 4),