Add Ler Hentai (#3165)
This commit is contained in:
parent
d430eb8286
commit
943ac6e891
|
@ -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 |
|
@ -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")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue