Add Ghost Hentai (#8715)
This commit is contained in:
parent
a79efc512c
commit
93348a57a3
10
src/tr/ghosthentai/build.gradle
Normal file
10
src/tr/ghosthentai/build.gradle
Normal file
@ -0,0 +1,10 @@
|
||||
ext {
|
||||
extName = 'Ghost Hentai'
|
||||
extClass = '.GhostHentai'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://ghosthentai.com'
|
||||
overrideVersionCode = 0
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
BIN
src/tr/ghosthentai/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/tr/ghosthentai/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.0 KiB |
BIN
src/tr/ghosthentai/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/tr/ghosthentai/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
BIN
src/tr/ghosthentai/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/tr/ghosthentai/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
src/tr/ghosthentai/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/tr/ghosthentai/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
src/tr/ghosthentai/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/tr/ghosthentai/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
@ -0,0 +1,143 @@
|
||||
package eu.kanade.tachiyomi.extension.tr.ghosthentai
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import org.jsoup.nodes.Document
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class GhostHentai : Madara(
|
||||
"Ghost Hentai",
|
||||
"https://ghosthentai.com",
|
||||
"tr",
|
||||
dateFormat = SimpleDateFormat("d MMMM yyyy", Locale("tr")),
|
||||
) {
|
||||
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override val mangaSubString = "seri"
|
||||
|
||||
override val fetchGenres = false
|
||||
override var genresList = listOf(
|
||||
Genre("3D", "3d"),
|
||||
Genre("Aile", "aile"),
|
||||
Genre("Aincard", "aincard"),
|
||||
Genre("Aksiyon", "aksiyon"),
|
||||
Genre("Askeri", "askeri"),
|
||||
Genre("Bilim Kurgu", "bilim-kurgu"),
|
||||
Genre("Büyü", "buyu"),
|
||||
Genre("Büyükler İçin", "yasi-buyukler-icin"),
|
||||
Genre("Chemosh Special", "chemosh-special"),
|
||||
Genre("Doğaüstü", "dogaustu"),
|
||||
Genre("Dövüş", "dovus"),
|
||||
Genre("Dövüş Sanatları", "dovus-sanatlari"),
|
||||
Genre("Drama", "drama"),
|
||||
Genre("Ecchi", "ecchi"),
|
||||
Genre("Erkek Y", "erkek-y"),
|
||||
Genre("Fantastik", "fantastik"),
|
||||
Genre("Fantezi", "fantezi"),
|
||||
Genre("Final", "final"),
|
||||
Genre("Ghost Hentai", "gri-melek"),
|
||||
Genre("Gizem", "gizem"),
|
||||
Genre("Harem", "harem"),
|
||||
Genre("İntikam", "intikam"),
|
||||
Genre("İsekai", "isekai"),
|
||||
Genre("Josei", "josei"),
|
||||
Genre("Kadın X", "kadin-x"),
|
||||
Genre("Komedi", "komedi"),
|
||||
Genre("Korku", "korku"),
|
||||
Genre("Macera", "macera"),
|
||||
Genre("Manga", "manga"),
|
||||
Genre("Manhwa", "manhwa"),
|
||||
Genre("Normal", "normal"),
|
||||
Genre("NTR", "ntr"),
|
||||
Genre("Okul", "okul"),
|
||||
Genre("Okul Hayatı", "okul-hayati"),
|
||||
Genre("Psikoloji", "psikoloji"),
|
||||
Genre("Reenkarnasyon", "reenkarnasyon"),
|
||||
Genre("Romantik", "romantik"),
|
||||
Genre("Sansürsüz", "sansursuz"),
|
||||
Genre("Sci-fi", "sci-fi"),
|
||||
Genre("Seinen", "seinen"),
|
||||
Genre("Shoujo", "shoujo"),
|
||||
Genre("Shoujo Ai", "shoujo-ai"),
|
||||
Genre("Shounen", "shounen"),
|
||||
Genre("Şiddet", "siddet"),
|
||||
Genre("Slice of life", "slice-of-life"),
|
||||
Genre("Spor", "spor"),
|
||||
Genre("Suç", "suc"),
|
||||
Genre("Tarih", "tarih"),
|
||||
Genre("Tek eşli", "tek-esli"),
|
||||
Genre("TOMMY SHELBY", "tommy-shelby"),
|
||||
Genre("Trajedi", "trajedi"),
|
||||
Genre("Türkçe", "turkce"),
|
||||
Genre("Webtoon", "webtoon"),
|
||||
Genre("3D", "3d"),
|
||||
Genre("Aile", "aile"),
|
||||
Genre("Aincard", "aincard"),
|
||||
Genre("Aksiyon", "aksiyon"),
|
||||
Genre("Askeri", "askeri"),
|
||||
Genre("Bilim Kurgu", "bilim-kurgu"),
|
||||
Genre("Büyü", "buyu"),
|
||||
Genre("Büyükler İçin", "yasi-buyukler-icin"),
|
||||
Genre("Chemosh Special", "chemosh-special"),
|
||||
Genre("Doğaüstü", "dogaustu"),
|
||||
Genre("Dövüş", "dovus"),
|
||||
Genre("Dövüş Sanatları", "dovus-sanatlari"),
|
||||
Genre("Drama", "drama"),
|
||||
Genre("Ecchi", "ecchi"),
|
||||
Genre("Erkek Y", "erkek-y"),
|
||||
Genre("Fantastik", "fantastik"),
|
||||
Genre("Fantezi", "fantezi"),
|
||||
Genre("Final", "final"),
|
||||
Genre("Ghost Hentai", "gri-melek"),
|
||||
Genre("Gizem", "gizem"),
|
||||
Genre("Harem", "harem"),
|
||||
Genre("İntikam", "intikam"),
|
||||
Genre("İsekai", "isekai"),
|
||||
Genre("Josei", "josei"),
|
||||
Genre("Kadın X", "kadin-x"),
|
||||
Genre("Komedi", "komedi"),
|
||||
Genre("Korku", "korku"),
|
||||
Genre("Macera", "macera"),
|
||||
Genre("Manga", "manga"),
|
||||
Genre("Manhwa", "manhwa"),
|
||||
Genre("Normal", "normal"),
|
||||
Genre("NTR", "ntr"),
|
||||
Genre("Okul", "okul"),
|
||||
Genre("Okul Hayatı", "okul-hayati"),
|
||||
Genre("Psikoloji", "psikoloji"),
|
||||
Genre("Reenkarnasyon", "reenkarnasyon"),
|
||||
Genre("Romantik", "romantik"),
|
||||
Genre("Sansürsüz", "sansursuz"),
|
||||
Genre("Sci-fi", "sci-fi"),
|
||||
Genre("Seinen", "seinen"),
|
||||
Genre("Shoujo", "shoujo"),
|
||||
Genre("Shoujo Ai", "shoujo-ai"),
|
||||
Genre("Shounen", "shounen"),
|
||||
Genre("Şiddet", "siddet"),
|
||||
Genre("Slice of life", "slice-of-life"),
|
||||
Genre("Spor", "spor"),
|
||||
Genre("Suç", "suc"),
|
||||
Genre("Tarih", "tarih"),
|
||||
Genre("Tek eşli", "tek-esli"),
|
||||
Genre("TOMMY SHELBY", "tommy-shelby"),
|
||||
Genre("Trajedi", "trajedi"),
|
||||
Genre("Türkçe", "turkce"),
|
||||
Genre("Webtoon", "webtoon"),
|
||||
)
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
val pageList = super.pageListParse(document)
|
||||
|
||||
if (
|
||||
pageList.isEmpty() &&
|
||||
document.select(".content-blocked, .login-required").isNotEmpty()
|
||||
) {
|
||||
throw Exception("Inicie sesión en WebView para ver este capítulo")
|
||||
}
|
||||
return pageList
|
||||
}
|
||||
|
||||
override val pageListParseSelector = "div.page-break img.wp-manga-chapter-img"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user