Fixes chapterListParse (#7769)
This commit is contained in:
parent
dd8ba727cb
commit
29b41af722
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'MangaDoom'
|
||||
pkgNameSuffix = 'en.mangadoom'
|
||||
extClass = '.MangaDoom'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -187,7 +187,7 @@ class MangaDoom : HttpSource() {
|
|||
SChapter.create().apply {
|
||||
this.name = it.select("span.val").first().ownText()
|
||||
this.url = it.select("a").first().attr("href")
|
||||
this.chapter_number = this.url.split("/").last().toFloat()
|
||||
this.chapter_number = this.url.split("/").last().replace(Regex("[^0-9.]"), "").toFloat()
|
||||
|
||||
val calculatedDate = it.select("span.date").first().ownText()?.let {
|
||||
parseDate(it)
|
||||
|
|
Loading…
Reference in New Issue