Qiximh: Fix manga url and set thumbnail_url (#10028)
This commit is contained in:
parent
3f884c8248
commit
41f326eb54
@ -6,7 +6,7 @@ ext {
|
|||||||
extName = 'QiXiManhua'
|
extName = 'QiXiManhua'
|
||||||
pkgNameSuffix = 'zh.qiximh'
|
pkgNameSuffix = 'zh.qiximh'
|
||||||
extClass = '.Qiximh'
|
extClass = '.Qiximh'
|
||||||
extVersionCode = 3
|
extVersionCode = 4
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -106,7 +106,7 @@ class Qiximh : HttpSource() {
|
|||||||
thumbnail_url = targetObj["imgurl"]!!.jsonPrimitive.content
|
thumbnail_url = targetObj["imgurl"]!!.jsonPrimitive.content
|
||||||
// Extension is wrongly adding the baseURL to the SManga.
|
// Extension is wrongly adding the baseURL to the SManga.
|
||||||
// I kept it as it is to avoid user migrations.
|
// I kept it as it is to avoid user migrations.
|
||||||
url = "$baseUrl/${targetObj["id"]!!.jsonPrimitive.int}"
|
url = "$baseUrl/${targetObj["id"]!!.jsonPrimitive.int}/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -183,7 +183,7 @@ class Qiximh : HttpSource() {
|
|||||||
thumbnail_url = targetObj["imgs"]!!.jsonPrimitive.content
|
thumbnail_url = targetObj["imgs"]!!.jsonPrimitive.content
|
||||||
// Extension is wrongly adding the baseURL to the SManga.
|
// Extension is wrongly adding the baseURL to the SManga.
|
||||||
// I kept it as it is to avoid user migrations.
|
// I kept it as it is to avoid user migrations.
|
||||||
url = "$baseUrl/${targetObj["id"]!!.jsonPrimitive.int}"
|
url = "$baseUrl/${targetObj["id"]!!.jsonPrimitive.int}/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -237,7 +237,7 @@ class Qiximh : HttpSource() {
|
|||||||
|
|
||||||
return SManga.create().apply {
|
return SManga.create().apply {
|
||||||
title = document.select("h1.name").text()
|
title = document.select("h1.name").text()
|
||||||
|
thumbnail_url = document.select("div.comic_cover").attr("data-original")
|
||||||
author = document.select(".author_name").text()
|
author = document.select(".author_name").text()
|
||||||
|
|
||||||
description = arrayOf(
|
description = arrayOf(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user