mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01:00 
			
		
		
		
	Open all E-Hentai galleries in ExHentai
This commit is contained in:
		@@ -55,9 +55,9 @@ class EHentai(override val id: Long,
 | 
			
		||||
            "http"
 | 
			
		||||
 | 
			
		||||
    val domain: String
 | 
			
		||||
        get() = if(exh)
 | 
			
		||||
        get() = /*if(exh)
 | 
			
		||||
            "exhentai.org"
 | 
			
		||||
        else
 | 
			
		||||
        else*/
 | 
			
		||||
            "e-hentai.org"
 | 
			
		||||
 | 
			
		||||
    override val baseUrl: String
 | 
			
		||||
@@ -234,9 +234,9 @@ class EHentai(override val id: Long,
 | 
			
		||||
        return if (it.text() == ">") it.attr("href") else null
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    override fun popularMangaRequest(page: Int) = if(exh)
 | 
			
		||||
    override fun popularMangaRequest(page: Int) = /*if(exh)
 | 
			
		||||
        latestUpdatesRequest(page)
 | 
			
		||||
    else
 | 
			
		||||
    else*/
 | 
			
		||||
        exGet("$baseUrl/toplist.php?tl=15&p=${page - 1}", null) // Custom page logic for toplists
 | 
			
		||||
 | 
			
		||||
    //Support direct URL importing
 | 
			
		||||
@@ -629,7 +629,7 @@ class EHentai(override val id: Long,
 | 
			
		||||
    class ReverseFilter : Filter.CheckBox("Reverse search results")
 | 
			
		||||
 | 
			
		||||
    override val name = if(exh)
 | 
			
		||||
        "ExHentai"
 | 
			
		||||
        "ExHentai (RIP)"
 | 
			
		||||
    else
 | 
			
		||||
        "E-Hentai"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user