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