[RU]Mintmanga chapter_number new html (#11011)

This commit is contained in:
e-shl 2022-03-05 14:50:44 +05:00 committed by GitHub
parent 12ea42b0d7
commit 60662d4f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Mintmanga'
pkgNameSuffix = 'ru.mintmanga'
extClass = '.Mintmanga'
extVersionCode = 40
extVersionCode = 41
}
dependencies {

View File

@ -219,7 +219,7 @@ class Mintmanga : 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()
@ -247,7 +247,7 @@ class Mintmanga : 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 {