parent
24b07673f9
commit
d55da9562b
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'ManhwaWeb'
|
extName = 'ManhwaWeb'
|
||||||
extClass = '.ManhwaWeb'
|
extClass = '.ManhwaWeb'
|
||||||
extVersionCode = 3
|
extVersionCode = 4
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -132,7 +132,7 @@ class ManhwaWeb : HttpSource() {
|
||||||
|
|
||||||
override fun chapterListParse(response: Response): List<SChapter> {
|
override fun chapterListParse(response: Response): List<SChapter> {
|
||||||
val result = json.decodeFromString<PayloadChapterDto>(response.body.string())
|
val result = json.decodeFromString<PayloadChapterDto>(response.body.string())
|
||||||
val chapters = result.chapters.map { it.toSChapter() }
|
val chapters = result.chapters.filterNot { it.espUrl == null && it.rawUrl == null }.map { it.toSChapter() }
|
||||||
|
|
||||||
return chapters.sortedByDescending { it.chapter_number }
|
return chapters.sortedByDescending { it.chapter_number }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue