mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
Magcomi: fix popular manga css selector (#5495)
This commit is contained in:
parent
16d3044606
commit
93ed77e44a
@ -3,7 +3,7 @@ ext {
|
||||
extClass = '.MagComi'
|
||||
themePkg = 'gigaviewer'
|
||||
baseUrl = 'https://magcomi.com'
|
||||
overrideVersionCode = 0
|
||||
overrideVersionCode = 1
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -20,11 +20,11 @@ class MagComi : GigaViewer(
|
||||
|
||||
override val publisher: String = "マッグガーデン"
|
||||
|
||||
override fun popularMangaSelector(): String = "ul.magcomi-series-list li.series-item > a"
|
||||
override fun popularMangaSelector(): String = "ul[class^=\"SeriesSection_series_list\"] > li > a"
|
||||
|
||||
override fun popularMangaFromElement(element: Element): SManga = SManga.create().apply {
|
||||
title = element.select("h3.series-title").text()
|
||||
thumbnail_url = element.select("div.series-thumb img").attr("src")
|
||||
title = element.select("h3").text()
|
||||
thumbnail_url = element.select("div.jsx-series-thumb > span > noscript > img").attr("src")
|
||||
setUrlWithoutDomain(element.attr("href"))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user