Weeb Central: use correct chapter URL for WebView (#6370)
This commit is contained in:
		
							parent
							
								
									1e09043247
								
							
						
					
					
						commit
						7e0c565a4d
					
				@ -1,7 +1,7 @@
 | 
			
		||||
ext {
 | 
			
		||||
    extName = 'Weeb Central'
 | 
			
		||||
    extClass = '.WeebCentral'
 | 
			
		||||
    extVersionCode = 5
 | 
			
		||||
    extVersionCode = 6
 | 
			
		||||
    isNsfw = true
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -164,6 +164,10 @@ class WeebCentral : ParsedHttpSource() {
 | 
			
		||||
        return GET(newUrl, headers)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    override fun getChapterUrl(chapter: SChapter): String {
 | 
			
		||||
        return baseUrl + chapter.url
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    override fun pageListParse(document: Document): List<Page> {
 | 
			
		||||
        return document.select("section[x-data~=scroll] > img").mapIndexed { index, element ->
 | 
			
		||||
            Page(index, imageUrl = element.attr("abs:src"))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user