parent
fd29e2a7c7
commit
b449a1eaea
|
@ -30,10 +30,17 @@ class MerakiScans : ParsedHttpSource() {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
override fun popularMangaSelector() = "#all > #listitem > a"
|
||||
|
||||
override fun latestUpdatesSelector() = "#mangalisthome > #mangalistitem > #mangaitem > #manganame > a"
|
||||
|
||||
override fun popularMangaRequest(page: Int)
|
||||
= GET("$baseUrl/manga", headers)
|
||||
|
||||
override fun latestUpdatesRequest(page: Int)
|
||||
= GET("$baseUrl", headers)
|
||||
|
||||
override fun popularMangaFromElement(element: Element) = SManga.create().apply {
|
||||
setUrlWithoutDomain(element.attr("href"))
|
||||
title = element.select("h1.title").text().trim()
|
||||
|
@ -127,7 +134,7 @@ class MerakiScans : ParsedHttpSource() {
|
|||
0L
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
val doc = document.toString()
|
||||
val imgarray = doc.substringAfter("var images = [").substringBefore("];").split(",").map { it.replace("\"","") }
|
||||
|
|
Loading…
Reference in New Issue