Fix Komik Chan and Change Lang to English (#16700)

* Fix Komik Chan and Change Lang

* fix

* fix mane issue

* fix class issue

* fix
This commit is contained in:
MeLoseAgain 2023-06-13 01:59:23 +07:00 committed by GitHub
parent c2a1c620cd
commit fdb81fd7b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
package eu.kanade.tachiyomi.extension.en.komikchan
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET
import okhttp3.Request
class KomikChan : Madara("Komik Chan", "https://komikchan.com", "en") {
override val filterNonMangaItems = false
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/comics/page/$page/?m_orderby=views", headers)
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/comics/page/$page/?m_orderby=latest", headers)
}

View File

@ -164,7 +164,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Kissmanga.in", "https://kissmanga.in", "en", className = "KissmangaIn", overrideVersionCode = 3),
SingleLang("KlikManga", "https://klikmanga.id", "id", overrideVersionCode = 2),
SingleLang("KomikRame", "https://komikra.me", "id"),
SingleLang("Komik Chan", "https://komikchan.com", "id"),
SingleLang("Komik Chan", "https://komikchan.com", "en", className = "KomikChan", overrideVersionCode = 1),
SingleLang("KSGroupScans", "https://ksgroupscans.com", "en"),
SingleLang("Kun Manga", "https://kunmanga.com", "en", overrideVersionCode = 1),
SingleLang("Lady Manga", "https://ladymanga.com", "en"),