MMLook: Fix search of Dumanwu (#10265)
This commit is contained in:
parent
d1fe20ff09
commit
c74fe07813
@ -2,7 +2,7 @@ plugins {
|
|||||||
id("lib-multisrc")
|
id("lib-multisrc")
|
||||||
}
|
}
|
||||||
|
|
||||||
baseVersionCode = 1
|
baseVersionCode = 2
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":lib:unpacker"))
|
implementation(project(":lib:unpacker"))
|
||||||
|
@ -95,10 +95,10 @@ open class MMLook(
|
|||||||
override fun searchMangaParse(response: Response): MangasPage {
|
override fun searchMangaParse(response: Response): MangasPage {
|
||||||
if (response.request.method == "GET") return popularMangaParse(response)
|
if (response.request.method == "GET") return popularMangaParse(response)
|
||||||
|
|
||||||
val entries = response.asJsoup().select(".col-auto").map { element ->
|
val entries = response.asJsoup().select(".item-data > div").map { element ->
|
||||||
SManga.create().apply {
|
SManga.create().apply {
|
||||||
url = element.selectFirst("a")!!.attr("href").mustRemoveSurrounding("/", "/")
|
url = element.selectFirst("a")!!.attr("href").mustRemoveSurrounding("/", "/")
|
||||||
title = element.selectFirst(".e-title")!!.text()
|
title = element.selectFirst(".e-title, .title")!!.text()
|
||||||
author = element.selectFirst(".tip")!!.text()
|
author = element.selectFirst(".tip")!!.text()
|
||||||
thumbnail_url = element.selectFirst("img")!!.attr("data-src")
|
thumbnail_url = element.selectFirst("img")!!.attr("data-src")
|
||||||
}.formatUrl()
|
}.formatUrl()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user