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