Open all E-Hentai galleries in ExHentai

This commit is contained in:
NerdNumber9
2019-07-27 19:30:25 -04:00
parent 54075733b7
commit 9ff8235de4

View File

@ -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"