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,7 +109,9 @@ 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 {
|
||||||
chapters.add(createChapter(it.text(), document.baseUri(), date))
|
if (!it.text().contains("Next »", true)) {
|
||||||
|
chapters.add(createChapter(it.text(), document.baseUri(), date))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
chapters.reverse()
|
chapters.reverse()
|
||||||
|
@ -145,5 +147,5 @@ open class MyReadingManga(override val lang: String) : ParsedHttpSource() {
|
||||||
override fun pageListParse(document: Document) = throw Exception("Not used")
|
override fun pageListParse(document: Document) = throw Exception("Not used")
|
||||||
override fun imageUrlRequest(page: Page) = throw Exception("Not used")
|
override fun imageUrlRequest(page: Page) = throw Exception("Not used")
|
||||||
override fun imageUrlParse(document: Document) = throw Exception("Not used")
|
override fun imageUrlParse(document: Document) = throw Exception("Not used")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue