Add missing headers (#15136)
* Add missing headers * update rate limit * retry CI Co-authored-by: Carlos <2092019+CarlosEsco@users.noreply.github.com>
This commit is contained in:
parent
f335375769
commit
398897a16a
|
@ -6,8 +6,14 @@ import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
|||
class AquaManga : Madara("Aqua Manga", "https://aquamanga.com", "en") {
|
||||
|
||||
override val client = super.client.newBuilder()
|
||||
.rateLimit(1, 2) // 1 request per 2 seconds
|
||||
.rateLimit(1, 3) // 1 request per 3 seconds
|
||||
.build()
|
||||
|
||||
override fun headersBuilder(): Headers.Builder = super.headersBuilder()
|
||||
.set("Origin", baseUrl)
|
||||
.set("Sec-Fetch-Dest", "empty")
|
||||
.set("Sec-Fetch-Mode", "cors")
|
||||
.set("Sec-Fetch-Site", "same-origin")
|
||||
|
||||
override val chapterUrlSuffix = ""
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("A Pair of 2+", "https://po2scans.com", "en", className = "APairOf2"),
|
||||
SingleLang("ApollComics", "https://apollcomics.xyz", "es", isNsfw = true, overrideVersionCode = 2),
|
||||
SingleLang("Apolltoons", "https://apolltoons.xyz", "es", isNsfw = true),
|
||||
SingleLang("Aqua Manga", "https://aquamanga.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("Aqua Manga", "https://aquamanga.com", "en", overrideVersionCode = 3),
|
||||
SingleLang("ArazNovel", "https://www.araznovel.com", "tr", overrideVersionCode = 3),
|
||||
SingleLang("Arthur Scan", "https://arthurscan.xyz", "pt-BR", overrideVersionCode = 4),
|
||||
SingleLang("Astral Library", "https://www.astrallibrary.net", "en", overrideVersionCode = 2),
|
||||
|
|
Loading…
Reference in New Issue