Fix MangaLife and MangaSee (#6206)
This commit is contained in:
parent
941999c9df
commit
a40294de33
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'MangaLife'
|
extName = 'MangaLife'
|
||||||
pkgNameSuffix = 'en.mangalife'
|
pkgNameSuffix = 'en.mangalife'
|
||||||
extClass = '.MangaLife'
|
extClass = '.MangaLife'
|
||||||
extVersionCode = 15
|
extVersionCode = 16
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ class MangaLife : HttpSource() {
|
||||||
|
|
||||||
override val supportsLatest = true
|
override val supportsLatest = true
|
||||||
|
|
||||||
private val rateLimitInterceptor = RateLimitInterceptor(1)
|
private val rateLimitInterceptor = RateLimitInterceptor(1, 2)
|
||||||
|
|
||||||
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
||||||
.addNetworkInterceptor(rateLimitInterceptor)
|
.addNetworkInterceptor(rateLimitInterceptor)
|
||||||
|
|
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'Mangasee'
|
extName = 'Mangasee'
|
||||||
pkgNameSuffix = 'en.mangasee'
|
pkgNameSuffix = 'en.mangasee'
|
||||||
extClass = '.Mangasee'
|
extClass = '.Mangasee'
|
||||||
extVersionCode = 19
|
extVersionCode = 20
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ class Mangasee : HttpSource() {
|
||||||
|
|
||||||
override val supportsLatest = true
|
override val supportsLatest = true
|
||||||
|
|
||||||
private val rateLimitInterceptor = RateLimitInterceptor(1)
|
private val rateLimitInterceptor = RateLimitInterceptor(1, 2)
|
||||||
|
|
||||||
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
||||||
.addNetworkInterceptor(rateLimitInterceptor)
|
.addNetworkInterceptor(rateLimitInterceptor)
|
||||||
|
|
Loading…
Reference in New Issue