Initial commit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 5.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
BIN
multisrc/overrides/madara/evascans/res/web_hi_res_512.png
Normal file
BIN
multisrc/overrides/madara/evascans/res/web_hi_res_512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 170 KiB |
32
multisrc/overrides/madara/evascans/src/EvaScans.kt
Normal file
32
multisrc/overrides/madara/evascans/src/EvaScans.kt
Normal file
@@ -0,0 +1,32 @@
|
||||
package eu.kanade.tachiyomi.extension.tr.evascans
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import org.jsoup.nodes.Document
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class EvaScans : Madara(
|
||||
"ManWe",
|
||||
"https://manwe.pro",
|
||||
"tr",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyy", Locale("tr")),
|
||||
) {
|
||||
override val id = 5223802501310383833
|
||||
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override fun searchPage(page: Int): String = if (page == 1) "" else "page/$page/"
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
val pageList = super.pageListParse(document)
|
||||
|
||||
if (
|
||||
pageList.isEmpty() &&
|
||||
document.select(".content-blocked, .login-required").isNotEmpty()
|
||||
) {
|
||||
throw Exception("Okumak için WebView üzerinden giriş yapın")
|
||||
}
|
||||
return pageList
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user