Komik AV -> Apkomik: change domain (#1778)

This commit is contained in:
AwkwardPeak7 2024-03-09 19:21:32 +05:00 committed by GitHub
parent b49a0fb8fc
commit 8e8b7b1121
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 16 deletions

View File

@ -1,9 +1,9 @@
ext {
extName = 'Komik AV'
extClass = '.KomikAV'
extName = 'APKOMIK'
extClass = '.Apkomik'
themePkg = 'mangathemesia'
baseUrl = 'https://komikav.com'
overrideVersionCode = 1
baseUrl = 'https://apkomik.cc'
overrideVersionCode = 2
}
apply from: "$rootDir/common.gradle"

View File

@ -1,30 +1,22 @@
package eu.kanade.tachiyomi.extension.id.komikav
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import eu.kanade.tachiyomi.source.model.Page
import okhttp3.OkHttpClient
import okhttp3.Request
import java.text.SimpleDateFormat
import java.util.Locale
class KomikAV : MangaThemesia(
"Komik AV (WP Manga Stream)",
"https://komikav.com",
class Apkomik : MangaThemesia(
"APKOMIK",
"https://apkomik.cc",
"id",
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale.forLanguageTag("id")),
) {
// Formerly "Komik AV (WP Manga Stream)"
override val id = 7875815514004535629
override val client: OkHttpClient = super.client.newBuilder()
override val client = super.client.newBuilder()
.rateLimit(4)
.build()
override fun imageRequest(page: Page): Request {
return GET(page.imageUrl!!, headers)
}
override val hasProjectPage = true
}