KomikCast, SekteKomik: fix chapter page issue (#7301)
* KomikCast, SekteKomik: fix chapter page issue * put back, change pageurl to base url
This commit is contained in:
parent
6822315dfd
commit
36d6bd7360
|
@ -36,7 +36,7 @@ class KomikCast : WPMangaStream("Komik Cast", "https://komikcast.com", "id") {
|
||||||
override fun imageRequest(page: Page): Request {
|
override fun imageRequest(page: Page): Request {
|
||||||
val newHeaders = headersBuilder()
|
val newHeaders = headersBuilder()
|
||||||
.set("Accept", "image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8")
|
.set("Accept", "image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8")
|
||||||
.set("Referer", page.url)
|
.set("Referer", baseUrl)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
return GET(page.imageUrl!!, newHeaders)
|
return GET(page.imageUrl!!, newHeaders)
|
||||||
|
|
|
@ -4,10 +4,10 @@ import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||||
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
|
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
|
||||||
import eu.kanade.tachiyomi.network.GET
|
import eu.kanade.tachiyomi.network.GET
|
||||||
import eu.kanade.tachiyomi.source.model.Page
|
import eu.kanade.tachiyomi.source.model.Page
|
||||||
import okhttp3.OkHttpClient
|
|
||||||
import java.util.concurrent.TimeUnit
|
|
||||||
import okhttp3.Headers
|
import okhttp3.Headers
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
import okhttp3.Request
|
import okhttp3.Request
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
class SekteKomik : WPMangaStream("Sekte Komik", "https://sektekomik.com", "id") {
|
class SekteKomik : WPMangaStream("Sekte Komik", "https://sektekomik.com", "id") {
|
||||||
// Formerly "Sekte Komik (WP Manga Stream)"
|
// Formerly "Sekte Komik (WP Manga Stream)"
|
||||||
|
@ -29,7 +29,7 @@ class SekteKomik : WPMangaStream("Sekte Komik", "https://sektekomik.com", "id")
|
||||||
override fun imageRequest(page: Page): Request {
|
override fun imageRequest(page: Page): Request {
|
||||||
val newHeaders = headersBuilder()
|
val newHeaders = headersBuilder()
|
||||||
.set("Accept", "image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8")
|
.set("Accept", "image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8")
|
||||||
.set("Referer", page.url)
|
.set("Referer", baseUrl)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
return GET(page.imageUrl!!, newHeaders)
|
return GET(page.imageUrl!!, newHeaders)
|
||||||
|
|
|
@ -22,7 +22,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("MangaP", "https://mangap.me", "ar"),
|
SingleLang("MangaP", "https://mangap.me", "ar"),
|
||||||
SingleLang("Boosei", "https://boosei.com", "id"),
|
SingleLang("Boosei", "https://boosei.com", "id"),
|
||||||
SingleLang("Mangakyo", "https://www.mangakyo.me", "id"),
|
SingleLang("Mangakyo", "https://www.mangakyo.me", "id"),
|
||||||
SingleLang("Sekte Komik", "https://sektekomik.com", "id", overrideVersionCode = 1),
|
SingleLang("Sekte Komik", "https://sektekomik.com", "id", overrideVersionCode = 2),
|
||||||
SingleLang("Komik Station", "https://komikstation.com", "id"),
|
SingleLang("Komik Station", "https://komikstation.com", "id"),
|
||||||
SingleLang("Komik Indo", "https://www.komikindo.web.id", "id", className = "KomikIndoWPMS"),
|
SingleLang("Komik Indo", "https://www.komikindo.web.id", "id", className = "KomikIndoWPMS"),
|
||||||
SingleLang("Non-Stop Scans", "https://www.nonstopscans.com", "en", className = "NonStopScans"),
|
SingleLang("Non-Stop Scans", "https://www.nonstopscans.com", "en", className = "NonStopScans"),
|
||||||
|
@ -34,7 +34,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("GURU Komik", "https://gurukomik.com", "id"),
|
SingleLang("GURU Komik", "https://gurukomik.com", "id"),
|
||||||
SingleLang("Shea Manga", "https://sheamanga.my.id", "id"),
|
SingleLang("Shea Manga", "https://sheamanga.my.id", "id"),
|
||||||
SingleLang("Komik AV", "https://komikav.com", "id"),
|
SingleLang("Komik AV", "https://komikav.com", "id"),
|
||||||
SingleLang("Komik Cast", "https://komikcast.com", "id", overrideVersionCode = 5),
|
SingleLang("Komik Cast", "https://komikcast.com", "id", overrideVersionCode = 6),
|
||||||
SingleLang("West Manga", "https://westmanga.info", "id"),
|
SingleLang("West Manga", "https://westmanga.info", "id"),
|
||||||
SingleLang("Komik GO", "https://komikgo.com", "id", overrideVersionCode = 1),
|
SingleLang("Komik GO", "https://komikgo.com", "id", overrideVersionCode = 1),
|
||||||
SingleLang("MangaSwat", "https://mangaswat.com", "ar"),
|
SingleLang("MangaSwat", "https://mangaswat.com", "ar"),
|
||||||
|
|
Loading…
Reference in New Issue