[RU]GroupLe fix chapterListSelector (#16721)
* [RU]GroupLe fix chapterListSelector * current domain * https
This commit is contained in:
		
							parent
							
								
									7a2e2a62ff
								
							
						
					
					
						commit
						3757d99ac9
					
				@ -13,7 +13,7 @@ import okhttp3.Request
 | 
			
		||||
import uy.kohesive.injekt.Injekt
 | 
			
		||||
import uy.kohesive.injekt.api.get
 | 
			
		||||
 | 
			
		||||
class AllHentai : GroupLe("AllHentai", "http://allhen.online", "ru") {
 | 
			
		||||
class AllHentai : GroupLe("AllHentai", "https://2023.allhen.online", "ru") {
 | 
			
		||||
 | 
			
		||||
    override val id: Long = 1809051393403180443
 | 
			
		||||
 | 
			
		||||
@ -292,6 +292,6 @@ class AllHentai : GroupLe("AllHentai", "http://allhen.online", "ru") {
 | 
			
		||||
 | 
			
		||||
    companion object {
 | 
			
		||||
        private const val DOMAIN_TITLE = "Домен"
 | 
			
		||||
        private const val DOMAIN_DEFAULT = "http://allhen.online"
 | 
			
		||||
        private const val DOMAIN_DEFAULT = "https://2023.allhen.online"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -205,7 +205,7 @@ abstract class GroupLe(
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    override fun chapterListSelector() =
 | 
			
		||||
        "div.chapters-link > table > tbody > tr:has(td > a):has(td.date:not(.text-info))"
 | 
			
		||||
        "div.chapters table tr:has(td > a):has(td.date:not(.text-info))"
 | 
			
		||||
 | 
			
		||||
    private fun chapterFromElement(element: Element, manga: SManga): SChapter {
 | 
			
		||||
        val urlElement = element.select("a.chapter-link").first()!!
 | 
			
		||||
 | 
			
		||||
@ -9,12 +9,12 @@ class GroupLeGenerator : ThemeSourceGenerator {
 | 
			
		||||
 | 
			
		||||
    override val themeClass = "GroupLe"
 | 
			
		||||
 | 
			
		||||
    override val baseVersionCode = 13
 | 
			
		||||
    override val baseVersionCode = 14
 | 
			
		||||
 | 
			
		||||
    override val sources = listOf(
 | 
			
		||||
        SingleLang("ReadManga", "https://readmanga.live", "ru", overrideVersionCode = 46),
 | 
			
		||||
        SingleLang("MintManga", "https://mintmanga.live", "ru", overrideVersionCode = 46),
 | 
			
		||||
        SingleLang("AllHentai", "http://allhen.online", "ru", isNsfw = true, overrideVersionCode = 22),
 | 
			
		||||
        SingleLang("AllHentai", "https://2023.allhen.online", "ru", isNsfw = true, overrideVersionCode = 22),
 | 
			
		||||
        SingleLang("SelfManga", "https://selfmanga.live", "ru", overrideVersionCode = 22),
 | 
			
		||||
        SingleLang("RuMIX", "https://rumix.me", "ru", overrideVersionCode = 1),
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user