Remove HentaiKeyfi (#5066)

This commit is contained in:
Chopper 2024-09-15 04:30:31 -03:00 committed by Draff
parent c1435f4c2f
commit fdcadcd5a1
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
7 changed files with 0 additions and 46 deletions

View File

@ -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

View File

@ -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()
}