Pojok Manga: update domain, tweak rate limit (#3700)

This commit is contained in:
Luqman 2024-06-23 15:24:26 +07:00 committed by Draff
parent 14eefec146
commit 16d776056b
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 4 additions and 4 deletions

View File

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

View File

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