Init2
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 9.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
multisrc/overrides/madara/hentai4free/res/web_hi_res_512.png
Normal file
BIN
multisrc/overrides/madara/hentai4free/res/web_hi_res_512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
50
multisrc/overrides/madara/hentai4free/src/Hentai4Free.kt
Normal file
50
multisrc/overrides/madara/hentai4free/src/Hentai4Free.kt
Normal file
@@ -0,0 +1,50 @@
|
||||
package eu.kanade.tachiyomi.extension.en.hentai4free
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.model.FilterList
|
||||
import okhttp3.Request
|
||||
|
||||
class Hentai4Free : Madara("Hentai4Free", "https://hentai4free.net", "en") {
|
||||
override val useNewChapterEndpoint = true
|
||||
override val mangaSubString = "hentai"
|
||||
|
||||
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