Removed UA from SetsuScans and increased ratelimit (#9751)
* Removed UA from SetsuScans and increased ratelimit * Actually increase ratelimit
This commit is contained in:
parent
87c37610d1
commit
65a2d4eeb0
|
@ -2,14 +2,9 @@ package eu.kanade.tachiyomi.extension.en.setsuscans
|
|||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import okhttp3.Headers
|
||||
|
||||
class SetsuScans : Madara("Setsu Scans", "https://setsuscans.com", "en") {
|
||||
override fun headersBuilder(): Headers.Builder = super.headersBuilder().let {
|
||||
it.set("User-Agent", "Tachiyomi ${it["User-Agent"]!!}")
|
||||
}
|
||||
|
||||
override val client = super.client.newBuilder()
|
||||
.addInterceptor(RateLimitInterceptor(1))
|
||||
.addInterceptor(RateLimitInterceptor(1, 2))
|
||||
.build()
|
||||
}
|
||||
|
|
|
@ -345,7 +345,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Seafoam Scans", "https://seafoamscans.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("Seikou Scans", "https://seikouscans.com", "pt-BR", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("Sensaina Yuri", "https://sensainayuri.dropescan.com", "pt-BR", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("Setsu Scans", "https://setsuscans.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Setsu Scans", "https://setsuscans.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("Shield Manga", "https://shieldmanga.club", "en", overrideVersionCode = 2),
|
||||
SingleLang("ShinobiScans", "https://shinobiscans.com", "it"),
|
||||
SingleLang("Shooting Star Scans", "https://shootingstarscans.com", "en", overrideVersionCode = 2),
|
||||
|
|
Loading…
Reference in New Issue