komikcast: fix referer (#588)

komikcast: fix baseurl referer
This commit is contained in:
Secozzi 2024-01-24 19:05:08 +00:00 committed by Draff
parent e3362fd497
commit 96c6804ede
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ class KomikCast : MangaThemesia("Komik Cast", "https://komikcast.lol", "id", "/d
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", baseUrl) .set("Referer", "$baseUrl/")
.build() .build()
return GET(page.imageUrl!!, newHeaders) return GET(page.imageUrl!!, newHeaders)

View File

@ -58,7 +58,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
SingleLang("King of Shojo", "https://kingofshojo.com", "ar", overrideVersionCode = 1), SingleLang("King of Shojo", "https://kingofshojo.com", "ar", overrideVersionCode = 1),
SingleLang("Kiryuu", "https://kiryuu.id", "id", overrideVersionCode = 6), SingleLang("Kiryuu", "https://kiryuu.id", "id", overrideVersionCode = 6),
SingleLang("Komik AV", "https://komikav.com", "id", overrideVersionCode = 1), SingleLang("Komik AV", "https://komikav.com", "id", overrideVersionCode = 1),
SingleLang("Komik Cast", "https://komikcast.lol", "id", overrideVersionCode = 25), SingleLang("Komik Cast", "https://komikcast.lol", "id", overrideVersionCode = 26),
SingleLang("Komik Lab", "https://komiklab.com", "en", overrideVersionCode = 3), SingleLang("Komik Lab", "https://komiklab.com", "en", overrideVersionCode = 3),
SingleLang("Komik Seru", "https://komikseru.me", "id", isNsfw = true), SingleLang("Komik Seru", "https://komikseru.me", "id", isNsfw = true),
SingleLang("Komik Station", "https://komikstation.co", "id", overrideVersionCode = 4), SingleLang("Komik Station", "https://komikstation.co", "id", overrideVersionCode = 4),