AquaManga: add strict rate limit (#12315)
This commit is contained in:
parent
7de9719d0a
commit
9488707c8d
multisrc
overrides/madara/aquamanga
src/main/java/eu/kanade/tachiyomi/multisrc/madara
Binary file not shown.
Before ![]() (image error) Size: 5.6 KiB After ![]() (image error) Size: 4.9 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 2.8 KiB After ![]() (image error) Size: 2.5 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 9.2 KiB After ![]() (image error) Size: 8.1 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 18 KiB After ![]() (image error) Size: 16 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 32 KiB After ![]() (image error) Size: 27 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 235 KiB After ![]() (image error) Size: 166 KiB ![]() ![]() |
11
multisrc/overrides/madara/aquamanga/src/AquaManga.kt
Normal file
11
multisrc/overrides/madara/aquamanga/src/AquaManga.kt
Normal file
@ -0,0 +1,11 @@
|
||||
package eu.kanade.tachiyomi.extension.en.aquamanga
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
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
|
||||
.build()
|
||||
}
|
@ -45,7 +45,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||
SingleLang("Anisa Manga", "https://anisamanga.com", "tr"),
|
||||
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"),
|
||||
SingleLang("Aqua Manga", "https://aquamanga.com", "en", overrideVersionCode = 1),
|
||||
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…
x
Reference in New Issue
Block a user