Initial commit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.9 KiB |
BIN
multisrc/overrides/madara/webtoonxyz/res/web_hi_res_512.png
Normal file
BIN
multisrc/overrides/madara/webtoonxyz/res/web_hi_res_512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
13
multisrc/overrides/madara/webtoonxyz/src/WebtoonXYZ.kt
Normal file
13
multisrc/overrides/madara/webtoonxyz/src/WebtoonXYZ.kt
Normal file
@@ -0,0 +1,13 @@
|
||||
package eu.kanade.tachiyomi.extension.en.webtoonxyz
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import okhttp3.Request
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class WebtoonXYZ : Madara("WebtoonXYZ", "https://www.webtoon.xyz", "en", SimpleDateFormat("dd MMMM yyyy", Locale.US)) {
|
||||
private fun pagePath(page: Int) = if (page > 1) "page/$page/" else ""
|
||||
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/webtoons/${pagePath(page)}?m_orderby=views", headers)
|
||||
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/webtoons/${pagePath(page)}?m_orderby=latest", headers)
|
||||
}
|
||||
Reference in New Issue
Block a user