mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-23 02:42:35 +01:00
parent
f1b73392aa
commit
2beef52dd5
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'ManhwaWeb'
|
||||
extClass = '.ManhwaWeb'
|
||||
extVersionCode = 3
|
||||
extVersionCode = 4
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -132,7 +132,7 @@ class ManhwaWeb : HttpSource() {
|
||||
|
||||
override fun chapterListParse(response: Response): List<SChapter> {
|
||||
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 }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user