Add Ler Hentai (#3165)

This commit is contained in:
Vetle Ledaal 2024-05-22 05:36:27 +00:00 committed by GitHub
parent c2a3a40b05
commit ff64d0eff2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,10 @@
ext {
extName = 'Ler Hentai'
extClass = '.LerHentai'
themePkg = 'madara'
baseUrl = 'https://lerhentai.com'
overrideVersionCode = 0
isNsfw = true
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 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,23 @@
package eu.kanade.tachiyomi.extension.pt.lerhentai
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.SManga
import org.jsoup.nodes.Document
import java.text.SimpleDateFormat
import java.util.Locale
class LerHentai : Madara(
"Ler Hentai",
"https://lerhentai.com",
"pt-BR",
dateFormat = SimpleDateFormat("d 'de' MMMM 'de' yyyy", Locale("pt", "BR")),
) {
override val useLoadMoreRequest = LoadMoreStrategy.Never
override val useNewChapterEndpoint = false
override fun mangaDetailsParse(document: Document): SManga {
return super.mangaDetailsParse(document).apply {
description = description?.removePrefix("Sinopse\n\n")
}
}
}