BoyLove: use Cloudflare client (#13534)
This commit is contained in:
parent
a7c19b4959
commit
5467390997
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'BoyLove'
|
||||
pkgNameSuffix = 'zh.boylove'
|
||||
extClass = '.BoyLove'
|
||||
extVersionCode = 4
|
||||
extVersionCode = 5
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ class BoyLove : HttpSource(), ConfigurableSource {
|
|||
override val baseUrl = "https://" + preferences.getString(MIRROR_PREF, "0")!!.toInt()
|
||||
.coerceIn(0, MIRRORS.size - 1).let { MIRRORS[it] }
|
||||
|
||||
override val client = network.client.newBuilder()
|
||||
override val client = network.cloudflareClient.newBuilder()
|
||||
.rateLimit(2)
|
||||
.build()
|
||||
|
||||
|
|
Loading…
Reference in New Issue