Initial commit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
BIN
multisrc/overrides/madara/adultwebtoon/res/web_hi_res_512.png
Normal file
BIN
multisrc/overrides/madara/adultwebtoon/res/web_hi_res_512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 91 KiB |
25
multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt
Normal file
25
multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt
Normal file
@@ -0,0 +1,25 @@
|
||||
package eu.kanade.tachiyomi.extension.en.adultwebtoon
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import okhttp3.CacheControl
|
||||
import okhttp3.Request
|
||||
|
||||
class AdultWebtoon : Madara("Adult Webtoon", "https://adultwebtoon.com", "en") {
|
||||
override fun popularMangaRequest(page: Int): Request {
|
||||
val pageSuffix = if (page != 1) "page/$page/" else ""
|
||||
return GET(
|
||||
"$baseUrl/manga/$pageSuffix?m_orderby=trending",
|
||||
headers,
|
||||
CacheControl.FORCE_NETWORK,
|
||||
)
|
||||
}
|
||||
override fun latestUpdatesRequest(page: Int): Request {
|
||||
val pageSuffix = if (page != 1) "page/$page/" else ""
|
||||
return GET(
|
||||
"$baseUrl/manga/$pageSuffix?m_orderby=latest",
|
||||
headers,
|
||||
CacheControl.FORCE_NETWORK,
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user