parent
5fdd51e172
commit
9a738a668f
@ -3,7 +3,7 @@ ext {
|
|||||||
extClass = '.MagComi'
|
extClass = '.MagComi'
|
||||||
themePkg = 'gigaviewer'
|
themePkg = 'gigaviewer'
|
||||||
baseUrl = 'https://magcomi.com'
|
baseUrl = 'https://magcomi.com'
|
||||||
overrideVersionCode = 1
|
overrideVersionCode = 2
|
||||||
isNsfw = false
|
isNsfw = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,19 @@ class MagComi : GigaViewer(
|
|||||||
setUrlWithoutDomain(element.attr("href"))
|
setUrlWithoutDomain(element.attr("href"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun searchMangaSelector(): String = "li[class^=SearchResultItem_li__]"
|
||||||
|
|
||||||
|
override fun searchMangaFromElement(element: Element): SManga = SManga.create().apply {
|
||||||
|
val link = element.selectFirst("a")!!
|
||||||
|
setUrlWithoutDomain(link.attr("href"))
|
||||||
|
title = element.selectFirst("p[class^=SearchResultItem_series_title__]")!!.text()
|
||||||
|
thumbnail_url = link.selectFirst("img")?.attr("src")
|
||||||
|
}
|
||||||
|
|
||||||
override fun getCollections(): List<Collection> = listOf(
|
override fun getCollections(): List<Collection> = listOf(
|
||||||
Collection("連載・読切", ""),
|
Collection("連載中", ""),
|
||||||
|
Collection("読切", "oneshot"),
|
||||||
|
Collection("漫画賞・他", "award_other"),
|
||||||
|
Collection("完結・休止", "finished"),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user