mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-25 11:42:47 +01:00
Add Ler Hentai (#3165)
This commit is contained in:
parent
c2a3a40b05
commit
ff64d0eff2
10
src/pt/lerhentai/build.gradle
Normal file
10
src/pt/lerhentai/build.gradle
Normal 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"
|
BIN
src/pt/lerhentai/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/pt/lerhentai/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
BIN
src/pt/lerhentai/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/pt/lerhentai/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
BIN
src/pt/lerhentai/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/pt/lerhentai/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
src/pt/lerhentai/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/pt/lerhentai/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
BIN
src/pt/lerhentai/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/pt/lerhentai/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
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
Block a user