mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-25 03:33:24 +01:00
parent
46837ed75f
commit
00bab8e776
@ -2,7 +2,7 @@ plugins {
|
|||||||
id("lib-multisrc")
|
id("lib-multisrc")
|
||||||
}
|
}
|
||||||
|
|
||||||
baseVersionCode = 1
|
baseVersionCode = 2
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(project(":lib:cookieinterceptor"))
|
api(project(":lib:cookieinterceptor"))
|
||||||
|
@ -120,7 +120,7 @@ abstract class HotComics(
|
|||||||
override fun chapterListParse(response: Response): List<SChapter> {
|
override fun chapterListParse(response: Response): List<SChapter> {
|
||||||
return response.asJsoup().select("#tab-chapter a").map { element ->
|
return response.asJsoup().select("#tab-chapter a").map { element ->
|
||||||
SChapter.create().apply {
|
SChapter.create().apply {
|
||||||
setUrlWithoutDomain(element.absUrl("href"))
|
setUrlWithoutDomain(element.attr("onclick").substringAfter("popupLogin('").substringBefore("'"))
|
||||||
name = element.selectFirst(".cell-num")!!.text()
|
name = element.selectFirst(".cell-num")!!.text()
|
||||||
date_upload = parseDate(element.selectFirst(".cell-time")?.text())
|
date_upload = parseDate(element.selectFirst(".cell-time")?.text())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user