Fix MangaLife and MangaSee (#6206)

This commit is contained in:
scb261 2021-03-17 22:20:13 +02:00 committed by GitHub
parent 941999c9df
commit a40294de33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -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'
} }

View File

@ -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)

View File

@ -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'
} }

View File

@ -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)