Remove HentaiKeyfi (#5066)
This commit is contained in:
parent
c1435f4c2f
commit
fdcadcd5a1
@ -1,10 +0,0 @@
|
||||
ext {
|
||||
extName = 'Hentai Keyfi'
|
||||
extClass = '.HentaiKeyfi'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://hentaikeyfi.com'
|
||||
overrideVersionCode = 1
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
Binary file not shown.
Before Width: | Height: | Size: 4.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
@ -1,36 +0,0 @@
|
||||
package eu.kanade.tachiyomi.extension.tr.hentaing
|
||||
|
||||
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 HentaiKeyfi : Madara(
|
||||
"Hentai Keyfi",
|
||||
"https://hentaikeyfi.com",
|
||||
"tr",
|
||||
dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale("tr")),
|
||||
) {
|
||||
|
||||
override val id = 3518858173957835738
|
||||
|
||||
override val useLoadMoreRequest = LoadMoreStrategy.Always
|
||||
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
val pageList = super.pageListParse(document)
|
||||
|
||||
if (
|
||||
pageList.isEmpty() &&
|
||||
document.select(".content-blocked, .login-required").isNotEmpty()
|
||||
) {
|
||||
throw Exception("Okumak için WebView üzerinden giriş yapın")
|
||||
}
|
||||
|
||||
return pageList.filterNot { it.imageUrl?.let(patternBadImage::containsMatchIn) ?: true }
|
||||
}
|
||||
|
||||
private val patternBadImage = """/\.(?:webp|jpeg|tiff|.{3})$""".toRegex()
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user