mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
Add Hentai Origines (#2839)
This commit is contained in:
parent
b4fc0aa205
commit
b02a4d9436
10
src/fr/hentaiorigines/build.gradle
Normal file
10
src/fr/hentaiorigines/build.gradle
Normal 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"
|
BIN
src/fr/hentaiorigines/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/fr/hentaiorigines/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.0 KiB |
BIN
src/fr/hentaiorigines/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/fr/hentaiorigines/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
BIN
src/fr/hentaiorigines/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/fr/hentaiorigines/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
src/fr/hentaiorigines/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/fr/hentaiorigines/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
BIN
src/fr/hentaiorigines/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/fr/hentaiorigines/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
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
Block a user