Manga Chill: fix chapter list & timestamp (#9810)

* Manga Chill: fix chapter list & timestamp

* some cleaning
This commit is contained in:
Riztard Lanthorn 2021-11-14 18:10:39 +07:00 committed by GitHub
parent bf9a02cf3f
commit c3aefc90cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 5 deletions

View File

@ -0,0 +1,10 @@
package eu.kanade.tachiyomi.extension.en.mangachill
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class MangaChill : Madara("Manga Chill", "https://mangachill.com", "en", SimpleDateFormat("dd/MM/yyyy", Locale.US)) {
override val useNewChapterEndpoint: Boolean = true
}

View File

@ -152,7 +152,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("MMScans", "https://mm-scans.com/", "en", overrideVersionCode = 1),
SingleLang("Manga Action", "https://mangaaction.com", "en", overrideVersionCode = 2),
SingleLang("Manga Bin", "https://mangabin.com/", "en", overrideVersionCode = 1),
SingleLang("Manga Chill", "https://mangachill.com/", "en", overrideVersionCode = 2),
SingleLang("Manga Chill", "https://mangachill.com", "en", overrideVersionCode = 3),
SingleLang("Manga Crab", "https://mangacrab.com", "es"),
SingleLang("Manga District", "https://mangadistrict.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("Manga Diyari", "https://manga-diyari.com", "tr", overrideVersionCode = 2),

View File

@ -7,7 +7,6 @@ import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.network.asObservableSuccess
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.source.model.Page as SPage
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga
import eu.kanade.tachiyomi.source.online.HttpSource
@ -15,6 +14,7 @@ import kotlinx.serialization.json.Json
import kotlinx.serialization.json.decodeFromJsonElement
import okhttp3.Response
import uy.kohesive.injekt.injectLazy
import eu.kanade.tachiyomi.source.model.Page as SPage
/** MangAdventure base source. */
abstract class MangAdventure(