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

View File

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

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!")
}

View File

@ -38,7 +38,7 @@
app:layout_constraintRight_toRightOf="@+id/textView"
app:layout_constraintBottom_toTopOf="@+id/btn_add_galleries"
android:layout_marginBottom="8dp"
android:hint="Example:\n\nhttp://e-hentai.org/g/12345/1a2b3c4e\nhttp://e-hentai.org/g/67890/6f7g8h9i\nhttp://exhentai.org/g/13579/1a3b5c7e\nhttp://exhentai.org/g/24680/2f4g6h8i\n" />
android:hint="Example:\n\nhttp://e-hentai.org/g/12345/1a2b3c4e\nhttp://g.e-hentai.org/g/67890/6f7g8h9i\nhttp://exhentai.org/g/13579/1a3b5c7e\nhttps://exhentai.org/g/24680/2f4g6h8i\n" />
<Button
android:text="Add Galleries"