parent
f3cf3488e8
commit
1c2876f7a5
@ -2,8 +2,8 @@ ext {
|
|||||||
extName = 'KDT Scans'
|
extName = 'KDT Scans'
|
||||||
extClass = '.KdtScans'
|
extClass = '.KdtScans'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://kdt.akan01.com'
|
baseUrl = 'https://kdtscans.com'
|
||||||
overrideVersionCode = 1
|
overrideVersionCode = 2
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ import org.jsoup.nodes.Element
|
|||||||
|
|
||||||
class KdtScans : Madara(
|
class KdtScans : Madara(
|
||||||
"KDT Scans",
|
"KDT Scans",
|
||||||
"https://kdt.akan01.com",
|
"https://kdtscans.com",
|
||||||
"all",
|
"all",
|
||||||
) {
|
) {
|
||||||
override val useNewChapterEndpoint = true
|
override val useNewChapterEndpoint = true
|
||||||
@ -36,5 +36,7 @@ class KdtScans : Madara(
|
|||||||
private fun String.cleanupTitle() = replace(titleCleanupRegex, "").trim()
|
private fun String.cleanupTitle() = replace(titleCleanupRegex, "").trim()
|
||||||
|
|
||||||
private val titleCleanupRegex =
|
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))"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user