Initial commit
This commit is contained in:
17
multisrc/overrides/madara/mangatopsite/src/MangaTopSite.kt
Normal file
17
multisrc/overrides/madara/mangatopsite/src/MangaTopSite.kt
Normal file
@@ -0,0 +1,17 @@
|
||||
package eu.kanade.tachiyomi.extension.all.mangatopsite
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class MangaTopSite : Madara(
|
||||
"MangaTop.site",
|
||||
"https://mangatop.site",
|
||||
"all",
|
||||
dateFormat = SimpleDateFormat("d MMM yyyy", Locale.ENGLISH),
|
||||
) {
|
||||
override val useNewChapterEndpoint = false
|
||||
override val chapterUrlSuffix = ""
|
||||
|
||||
override fun searchPage(page: Int): String = if (page == 1) "" else "page/$page/"
|
||||
}
|
||||
Reference in New Issue
Block a user