KirinRaikage 04c255d012
Fix HentaiZone and add Readergen (#17649)
* HentaiZone: Fix mangaSubstring

* Add Readergen source
2023-08-24 13:17:20 -03:00

12 lines
572 B
Kotlin

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()
}