fix myreadingmanga showing next as chapter (#400)
This commit is contained in:
parent
929f14632c
commit
622f02e517
|
@ -5,8 +5,8 @@ ext {
|
||||||
appName = 'Tachiyomi: MyReadingManga'
|
appName = 'Tachiyomi: MyReadingManga'
|
||||||
pkgNameSuffix = "all.myreadingmanga"
|
pkgNameSuffix = "all.myreadingmanga"
|
||||||
extClass = '.MyReadingMangaFactory'
|
extClass = '.MyReadingMangaFactory'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
extVersionSuffix = 1
|
extVersionSuffix = 2
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -109,9 +109,11 @@ open class MyReadingManga(override val lang: String) : ParsedHttpSource() {
|
||||||
//see if there are multiple chapters or not
|
//see if there are multiple chapters or not
|
||||||
document.select(chapterListSelector())?.let { it ->
|
document.select(chapterListSelector())?.let { it ->
|
||||||
it.forEach {
|
it.forEach {
|
||||||
|
if (!it.text().contains("Next »", true)) {
|
||||||
chapters.add(createChapter(it.text(), document.baseUri(), date))
|
chapters.add(createChapter(it.text(), document.baseUri(), date))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
chapters.reverse()
|
chapters.reverse()
|
||||||
|
|
||||||
return chapters
|
return chapters
|
||||||
|
|
Loading…
Reference in New Issue