Reverse chapter list order of baimangu (#11733)
This commit is contained in:
		
							parent
							
								
									c32f049eb1
								
							
						
					
					
						commit
						a4da018f9f
					
				@ -5,7 +5,7 @@ ext {
 | 
			
		||||
    extName = 'Baimangu (Darpou)'
 | 
			
		||||
    pkgNameSuffix = 'zh.baimangu'
 | 
			
		||||
    extClass = '.Baimangu'
 | 
			
		||||
    extVersionCode = 1
 | 
			
		||||
    extVersionCode = 2
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
dependencies {
 | 
			
		||||
 | 
			
		||||
@ -16,6 +16,7 @@ import okhttp3.Headers
 | 
			
		||||
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
 | 
			
		||||
import okhttp3.OkHttpClient
 | 
			
		||||
import okhttp3.Request
 | 
			
		||||
import okhttp3.Response
 | 
			
		||||
import org.jsoup.nodes.Document
 | 
			
		||||
import org.jsoup.nodes.Element
 | 
			
		||||
import uy.kohesive.injekt.Injekt
 | 
			
		||||
@ -184,6 +185,10 @@ class Baimangu : ConfigurableSource, ParsedHttpSource() {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Reverse the order of the chapter list
 | 
			
		||||
    override fun chapterListParse(response: Response): List<SChapter> =
 | 
			
		||||
        super.chapterListParse(response).reversed()
 | 
			
		||||
 | 
			
		||||
    override fun imageUrlParse(document: Document) = ""
 | 
			
		||||
 | 
			
		||||
    override fun pageListParse(document: Document): List<Page> {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user