mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-23 02:42:35 +01:00
Komik AV -> Apkomik: change domain (#1778)
This commit is contained in:
parent
b49a0fb8fc
commit
8e8b7b1121
@ -1,9 +1,9 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Komik AV'
|
extName = 'APKOMIK'
|
||||||
extClass = '.KomikAV'
|
extClass = '.Apkomik'
|
||||||
themePkg = 'mangathemesia'
|
themePkg = 'mangathemesia'
|
||||||
baseUrl = 'https://komikav.com'
|
baseUrl = 'https://apkomik.cc'
|
||||||
overrideVersionCode = 1
|
overrideVersionCode = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -1,30 +1,22 @@
|
|||||||
package eu.kanade.tachiyomi.extension.id.komikav
|
package eu.kanade.tachiyomi.extension.id.komikav
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||||
import eu.kanade.tachiyomi.network.GET
|
|
||||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
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.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
||||||
class KomikAV : MangaThemesia(
|
class Apkomik : MangaThemesia(
|
||||||
"Komik AV (WP Manga Stream)",
|
"APKOMIK",
|
||||||
"https://komikav.com",
|
"https://apkomik.cc",
|
||||||
"id",
|
"id",
|
||||||
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale.forLanguageTag("id")),
|
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale.forLanguageTag("id")),
|
||||||
) {
|
) {
|
||||||
// Formerly "Komik AV (WP Manga Stream)"
|
// Formerly "Komik AV (WP Manga Stream)"
|
||||||
override val id = 7875815514004535629
|
override val id = 7875815514004535629
|
||||||
|
|
||||||
override val client: OkHttpClient = super.client.newBuilder()
|
override val client = super.client.newBuilder()
|
||||||
.rateLimit(4)
|
.rateLimit(4)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
override fun imageRequest(page: Page): Request {
|
|
||||||
return GET(page.imageUrl!!, headers)
|
|
||||||
}
|
|
||||||
|
|
||||||
override val hasProjectPage = true
|
override val hasProjectPage = true
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user