Skip to content

Commit

Permalink
Fix HentaiZone and add Readergen (#17649)
Browse files Browse the repository at this point in the history
* HentaiZone: Fix mangaSubstring

* Add Readergen source
  • Loading branch information
KirinRaikage authored Aug 24, 2023
1 parent d1d9e03 commit 04c255d
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 1 deletion.
9 changes: 9 additions & 0 deletions multisrc/overrides/madara/hentaizone/src/HentaiZone.kt
Original file line number Diff line number Diff line change
@@ -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"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions multisrc/overrides/madara/readergen/src/ReaderGen.kt
Original file line number Diff line number Diff line change
@@ -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()
}
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 04c255d

Please sign in to comment.