[RU]WayManga chapter_number (#11002)
This commit is contained in:
parent
14c23afa9b
commit
a0b0eba49f
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'WayManga'
|
||||
pkgNameSuffix = 'ru.waymanga'
|
||||
extClass = '.WayManga'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -89,6 +89,7 @@ class WayManga : ParsedHttpSource() {
|
|||
val chapter = SChapter.create()
|
||||
element.select("div.col-5").first().let {
|
||||
chapter.name = it.text()
|
||||
chapter.chapter_number = it.text().substringBefore(" глава").substringAfter("том ").toFloat()
|
||||
}
|
||||
chapter.setUrlWithoutDomain(urlElement.attr("href"))
|
||||
chapter.date_upload = element.select("div.col-5:eq(1)").text().toDate()
|
||||
|
|
Loading…
Reference in New Issue