[RU]AllHentai chapter_number (last grouple) (#11252)
This commit is contained in:
parent
768c1306d6
commit
33bfbc239c
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'AllHentai'
|
||||
pkgNameSuffix = 'ru.allhentai'
|
||||
extClass = '.AllHentai'
|
||||
extVersionCode = 17
|
||||
extVersionCode = 18
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -187,7 +187,7 @@ class AllHentai : ConfigurableSource, ParsedHttpSource() {
|
|||
|
||||
private fun chapterFromElement(element: Element, manga: SManga): SChapter {
|
||||
val urlElement = element.select("a").first()
|
||||
val chapterInf = element.select(".item-data").first()
|
||||
val chapterInf = element.select("td.item-title").first()
|
||||
val urlText = urlElement.text()
|
||||
|
||||
val chapter = SChapter.create()
|
||||
|
@ -215,7 +215,7 @@ class AllHentai : ConfigurableSource, ParsedHttpSource() {
|
|||
chapter.name = chapter.name.substringAfter("…").trim()
|
||||
}
|
||||
|
||||
chapter.chapter_number = chapterInf.attr("num").toFloat() / 10
|
||||
chapter.chapter_number = chapterInf.attr("data-num").toFloat() / 10
|
||||
|
||||
chapter.date_upload = element.select("td.d-none").last()?.text()?.let {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue