Pojok Manga: update domain, tweak rate limit (#3700)
This commit is contained in:
parent
14eefec146
commit
16d776056b
@ -2,8 +2,8 @@ ext {
|
||||
extName = 'Pojok Manga'
|
||||
extClass = '.PojokManga'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://pojokmanga.net'
|
||||
overrideVersionCode = 5
|
||||
baseUrl = 'https://pojokmanga.org'
|
||||
overrideVersionCode = 6
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -12,10 +12,10 @@ import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class PojokManga : Madara("Pojok Manga", "https://pojokmanga.net", "id", SimpleDateFormat("MMM dd, yyyy", Locale.US)) {
|
||||
class PojokManga : Madara("Pojok Manga", "https://pojokmanga.org", "id", SimpleDateFormat("MMM dd, yyyy", Locale.US)) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(20, 4, TimeUnit.SECONDS)
|
||||
.rateLimit(10, 2, TimeUnit.SECONDS)
|
||||
.build()
|
||||
|
||||
override val useNewChapterEndpoint = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user