AquaScans: Fix cloudflare on chapter open (#3554)

fix cf
This commit is contained in:
bapeey 2024-06-14 02:33:14 -05:00 committed by GitHub
parent 36c0691675
commit bbd61d297c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 2 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.ManhwaWorld'
themePkg = 'madara'
baseUrl = 'https://aquascans.com'
overrideVersionCode = 1
overrideVersionCode = 2
}
apply from: "$rootDir/common.gradle"

View File

@ -1,7 +1,19 @@
package eu.kanade.tachiyomi.extension.en.manhwaworld
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimitHost
import okhttp3.HttpUrl.Companion.toHttpUrl
class ManhwaWorld : Madara("AQUA Scans", "https://aquascans.com", "en") {
class ManhwaWorld : Madara(
"AQUA Scans",
"https://aquascans.com",
"en",
) {
override val id = 8857833474626810640
override val client = super.client.newBuilder()
.rateLimitHost(baseUrl.toHttpUrl(), 3, 1)
.build()
override val chapterUrlSuffix = ""
}