Fix HentaiZone and add Readergen (#17649)

* HentaiZone: Fix mangaSubstring

* Add Readergen source
This commit is contained in:
KirinRaikage 2023-08-24 18:17:20 +02:00 committed by GitHub
parent d1d9e03560
commit 04c255d012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,9 @@
package eu.kanade.tachiyomi.extension.fr.hentaizone
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class HentaiZone : Madara("HentaiZone", "https://hentaizone.xyz", "fr", dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.FRENCH)) {
override val mangaSubString = "tous-les-mangas"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -0,0 +1,11 @@
package eu.kanade.tachiyomi.extension.fr.readergen
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET
import okhttp3.Request
class ReaderGen : Madara("ReaderGen", "https://fr.readergen.fr", "fr") {
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/page/$page/?s&post_type=wp-manga&m_orderby=views", headers)
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/page/$page/?s&post_type=wp-manga&m_orderby=latest", headers)
override fun popularMangaSelector() = searchMangaSelector()
}

View File

@ -154,7 +154,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("HentaiXComic", "https://hentaixcomic.com", "en", isNsfw = true),
SingleLang("HentaiXDickgirl", "https://hentaixdickgirl.com", "en", isNsfw = true),
SingleLang("HentaiXYuri", "https://hentaixyuri.com", "en", isNsfw = true),
SingleLang("HentaiZone", "https://hentaizone.xyz", "fr", isNsfw = true),
SingleLang("HentaiZone", "https://hentaizone.xyz", "fr", isNsfw = true, overrideVersionCode = 1),
SingleLang("HerenScan", "https://herenscan.com", "es"),
SingleLang("HipercooL", "https://hipercool.xyz", "pt-BR", isNsfw = true, className = "Hipercool"),
SingleLang("Hiperdex", "https://1sthiperdex.com", "en", isNsfw = true, overrideVersionCode = 9),
@ -432,6 +432,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Random Scan", "https://randomscans.com", "pt-BR", overrideVersionCode = 5),
SingleLang("RawDEX", "https://rawdex.net", "ko", isNsfw = true, overrideVersionCode = 1),
SingleLang("ReadAdult", "https://readadult.net", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("ReaderGen", "https://fr.readergen.fr", "fr"),
SingleLang("Readers Point", "https://readers-point.space", "en"),
SingleLang("ReadFreeComics", "https://readfreecomics.com", "en"),
SingleLang("ReadMangaFree", "https://readmangafree.net", "en", isNsfw = true),