Add Hentai Origines (#2839)
This commit is contained in:
parent
512c1c4b8e
commit
c84a1acd0b
|
@ -0,0 +1,10 @@
|
||||||
|
ext {
|
||||||
|
extName = 'Hentai Origines'
|
||||||
|
extClass = '.HentaiOrigines'
|
||||||
|
themePkg = 'madara'
|
||||||
|
baseUrl = 'https://hentai-origines.fr'
|
||||||
|
overrideVersionCode = 0
|
||||||
|
isNsfw = true
|
||||||
|
}
|
||||||
|
|
||||||
|
apply from: "$rootDir/common.gradle"
|
Binary file not shown.
After Width: | Height: | Size: 7.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
|
@ -0,0 +1,25 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.fr.hentaiorigines
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.network.POST
|
||||||
|
import okhttp3.Request
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
|
class HentaiOrigines : Madara(
|
||||||
|
"Hentai Origines",
|
||||||
|
"https://hentai-origines.fr",
|
||||||
|
"fr",
|
||||||
|
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("fr")),
|
||||||
|
) {
|
||||||
|
override val mangaDetailsSelectorAuthor = "div.manga-authors a"
|
||||||
|
override val mangaDetailsSelectorDescription = "div.summary__content"
|
||||||
|
override val seriesTypeSelector = ".post-title span"
|
||||||
|
|
||||||
|
override val useLoadMoreRequest = LoadMoreStrategy.Always
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
|
||||||
|
override fun xhrChaptersRequest(mangaUrl: String): Request {
|
||||||
|
return POST("$mangaUrl/ajax/chapters/", xhrHeaders)
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue