NoIndexScan: Fix manga details selector (#4686)

* Fix manga details selector

* Fix date format
This commit is contained in:
Chopper 2024-08-19 06:30:34 -03:00 committed by Draff
parent 1302bf5e80
commit 601f45baec
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.NoIndexScan'
themePkg = 'madara'
baseUrl = 'https://noindexscan.com'
overrideVersionCode = 0
overrideVersionCode = 1
isNsfw = true
}

View File

@ -11,11 +11,14 @@ class NoIndexScan : Madara(
"No Index Scan",
"https://noindexscan.com",
"pt-BR",
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR")),
SimpleDateFormat("dd/MM/yyyy", Locale.ROOT),
) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
.build()
override val useNewChapterEndpoint = true
override val mangaDetailsSelectorTitle = "div[class*='post-title'] h1"
override val mangaDetailsSelectorStatus = "div.summary-heading:has(h5:contains(Status)) + div.summary-content"
}