mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Change baseUrl from g.e-hentai.org -> e-hentai.org
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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!") | ||||
|         } | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user