mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 18:32:39 +01:00
Komik AV -> Apkomik: change domain (#1778)
This commit is contained in:
parent
b49a0fb8fc
commit
8e8b7b1121
@ -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"
|
||||
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user