NoIndexScan: Fix manga details selector (#4686)
* Fix manga details selector * Fix date format
This commit is contained in:
parent
1302bf5e80
commit
601f45baec
|
@ -3,7 +3,7 @@ ext {
|
|||
extClass = '.NoIndexScan'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://noindexscan.com'
|
||||
overrideVersionCode = 0
|
||||
overrideVersionCode = 1
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue