Initial commit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
BIN
multisrc/overrides/madara/mangamammy/res/web_hi_res_512.png
Normal file
BIN
multisrc/overrides/madara/mangamammy/res/web_hi_res_512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 253 KiB |
56
multisrc/overrides/madara/mangamammy/src/MangaMammy.kt
Normal file
56
multisrc/overrides/madara/mangamammy/src/MangaMammy.kt
Normal file
@@ -0,0 +1,56 @@
|
||||
package eu.kanade.tachiyomi.extension.ru.mangamammy
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.model.FilterList
|
||||
import okhttp3.Request
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class MangaMammy : Madara(
|
||||
"Manga Mammy",
|
||||
"https://mangamammy.ru",
|
||||
"ru",
|
||||
dateFormat = SimpleDateFormat("dd.MM.yyyy", Locale.ROOT),
|
||||
) {
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override fun searchPage(page: Int): String = if (page == 1) "" else "page/$page/"
|
||||
|
||||
override fun popularMangaSelector() = searchMangaSelector()
|
||||
|
||||
override fun popularMangaRequest(page: Int): Request =
|
||||
searchMangaRequest(
|
||||
page,
|
||||
"",
|
||||
FilterList(
|
||||
listOf(
|
||||
OrderByFilter(
|
||||
"",
|
||||
listOf(
|
||||
Pair("", ""),
|
||||
Pair("", "views"),
|
||||
),
|
||||
1,
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
override fun latestUpdatesRequest(page: Int): Request =
|
||||
searchMangaRequest(
|
||||
page,
|
||||
"",
|
||||
FilterList(
|
||||
listOf(
|
||||
OrderByFilter(
|
||||
"",
|
||||
listOf(
|
||||
Pair("", ""),
|
||||
Pair("", "latest"),
|
||||
),
|
||||
1,
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user