Kdt Scans: update url (#8543)

update url
This commit is contained in:
AwkwardPeak7 2025-04-20 06:28:52 +05:00 committed by Draff
parent f3cf3488e8
commit 1c2876f7a5
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 6 additions and 4 deletions

View File

@ -2,8 +2,8 @@ ext {
extName = 'KDT Scans'
extClass = '.KdtScans'
themePkg = 'madara'
baseUrl = 'https://kdt.akan01.com'
overrideVersionCode = 1
baseUrl = 'https://kdtscans.com'
overrideVersionCode = 2
isNsfw = true
}

View File

@ -7,7 +7,7 @@ import org.jsoup.nodes.Element
class KdtScans : Madara(
"KDT Scans",
"https://kdt.akan01.com",
"https://kdtscans.com",
"all",
) {
override val useNewChapterEndpoint = true
@ -36,5 +36,7 @@ class KdtScans : Madara(
private fun String.cleanupTitle() = replace(titleCleanupRegex, "").trim()
private val titleCleanupRegex =
Regex("""^\[(ESPAÑOL|English|HD)\]\s+(\s+)?""", RegexOption.IGNORE_CASE)
Regex("""^\[(ESPAÑOL|English|HD|VIP)\]\s+(\s+)?""", RegexOption.IGNORE_CASE)
override fun chapterListSelector() = "li.wp-manga-chapter:not(:has(.required-login))"
}