Change baseUrl from g.e-hentai.org -> e-hentai.org

This commit is contained in:
NerdNumber9
2017-02-28 17:21:00 -05:00
parent 0adac4217e
commit c30aa710f3
3 changed files with 3 additions and 3 deletions
@@ -38,7 +38,7 @@ class EHentai(override val id: Int,
get() = if(exh)
"$schema://exhentai.org"
else
"http://g.e-hentai.org"
"http://e-hentai.org"
override val lang = "all"
override val supportsLatest = true
+1 -1
View File
@@ -20,7 +20,7 @@ class GalleryAdder {
fun addGallery(url: String, fav: Boolean = false): Manga {
val source = when(URL(url).host) {
"g.e-hentai.org" -> 1
"g.e-hentai.org", "e-hentai.org" -> 1
"exhentai.org" -> 2
else -> throw MalformedURLException("Not a valid gallery URL!")
}