MangaBuddy: bypass Cloudflare IUAM (#10777)

This commit is contained in:
Vetle Ledaal 2022-02-09 18:56:52 +00:00 committed by GitHub
parent 3ac572f57e
commit 0b65d20ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ class MangaBuddy : MadTheme(
"https://mangabuddy.com",
"en"
) {
override val client: OkHttpClient = super.client.newBuilder()
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
.build()
}

View File

@ -14,7 +14,7 @@ class MadThemeGenerator : ThemeSourceGenerator {
override val sources = listOf(
SingleLang("BeeHentai", "https://beehentai.com", "en", isNsfw = true),
SingleLang("BoxManhwa", "https://boxmanhwa.com", "en", isNsfw = true),
SingleLang("MangaBuddy", "https://mangabuddy.com", "en", isNsfw = true),
SingleLang("MangaBuddy", "https://mangabuddy.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("MangaCute", "https://mangacute.com", "en", isNsfw = true),
SingleLang("MangaFab", "https://mangafab.com", "en", isNsfw = true),
SingleLang("MangaForest", "https://mangaforest.com", "en", isNsfw = true),