fix jinmantiantang (#10211)
This commit is contained in:
		
							parent
							
								
									842225ad83
								
							
						
					
					
						commit
						12dd0a19d0
					
				@ -6,7 +6,7 @@ ext {
 | 
			
		||||
    extName = 'Jinmantiantang'
 | 
			
		||||
    pkgNameSuffix = 'zh.jinmantiantang'
 | 
			
		||||
    extClass = '.Jinmantiantang'
 | 
			
		||||
    extVersionCode = 18
 | 
			
		||||
    extVersionCode = 19
 | 
			
		||||
    isNsfw = true
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -142,7 +142,7 @@ class Jinmantiantang : ConfigurableSource, ParsedHttpSource() {
 | 
			
		||||
 | 
			
		||||
    override fun popularMangaNextPageSelector(): String = "a.prevnext"
 | 
			
		||||
    override fun popularMangaSelector(): String {
 | 
			
		||||
        val baseSelector = ".list-col .well-sm"
 | 
			
		||||
        val baseSelector = "div.col-xs-6.col-sm-6.col-md-4.col-lg-3.list-col"
 | 
			
		||||
        val removedGenres = preferences.getString("BLOCK_GENRES_LIST", "")!!.substringBefore("//").trim()
 | 
			
		||||
        // Extra selector is jquery-like selector, it uses regex to match element.text().
 | 
			
		||||
        // If string after 標籤 contains any word of removedGenres, the element would be ignored.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user