Add Hentai Origines (#2839)

This commit is contained in:
Vetle Ledaal 2024-05-05 12:34:08 +00:00 committed by GitHub
parent b4fc0aa205
commit b02a4d9436
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 35 additions and 0 deletions

View File

@ -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

View File

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