fix myreadingmanga showing next as chapter (#400)
This commit is contained in:
		
							parent
							
								
									929f14632c
								
							
						
					
					
						commit
						622f02e517
					
				@ -5,8 +5,8 @@ ext {
 | 
			
		||||
    appName = 'Tachiyomi: MyReadingManga'
 | 
			
		||||
    pkgNameSuffix = "all.myreadingmanga"
 | 
			
		||||
    extClass = '.MyReadingMangaFactory'
 | 
			
		||||
    extVersionCode = 2
 | 
			
		||||
    extVersionSuffix = 1
 | 
			
		||||
    extVersionCode = 3
 | 
			
		||||
    extVersionSuffix = 2
 | 
			
		||||
    libVersion = '1.2'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -109,7 +109,9 @@ open class MyReadingManga(override val lang: String) : ParsedHttpSource() {
 | 
			
		||||
        //see if there are multiple chapters or not
 | 
			
		||||
        document.select(chapterListSelector())?.let { it ->
 | 
			
		||||
            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()
 | 
			
		||||
@ -145,5 +147,5 @@ open class MyReadingManga(override val lang: String) : ParsedHttpSource() {
 | 
			
		||||
    override fun pageListParse(document: Document) = throw Exception("Not used")
 | 
			
		||||
    override fun imageUrlRequest(page: Page) = throw Exception("Not used")
 | 
			
		||||
    override fun imageUrlParse(document: Document) = throw Exception("Not used")
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user