ResetScan: change theme to Madara (#6164)
* ResetScan: change theme to Madara * ResetScan: fix dateFormat and add useNewChapterEndpoint * ResetScans: leave year by default
This commit is contained in:
parent
bcf57d6f73
commit
5b2ccea602
|
@ -1,9 +1,9 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Reset Scans'
|
extName = 'Reset Scans'
|
||||||
extClass = '.ResetScans'
|
extClass = '.ResetScans'
|
||||||
themePkg = 'fuzzydoodle'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://reset-scans.xyz'
|
baseUrl = 'https://rspro.xyz'
|
||||||
overrideVersionCode = 43
|
overrideVersionCode = 8
|
||||||
isNsfw = false
|
isNsfw = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,19 @@
|
||||||
package eu.kanade.tachiyomi.extension.en.resetscans
|
package eu.kanade.tachiyomi.extension.en.resetscans
|
||||||
import eu.kanade.tachiyomi.multisrc.fuzzydoodle.FuzzyDoodle
|
|
||||||
|
|
||||||
class ResetScans : FuzzyDoodle(
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
|
class ResetScans : Madara(
|
||||||
"Reset Scans",
|
"Reset Scans",
|
||||||
"https://reset-scans.xyz",
|
"https://rspro.xyz",
|
||||||
"en",
|
"en",
|
||||||
|
dateFormat = SimpleDateFormat("MMM dd", Locale.US),
|
||||||
) {
|
) {
|
||||||
override val latestFromHomePage = true
|
// Moved from FuzzyDoodle to Madara
|
||||||
|
override val versionId = 3
|
||||||
|
|
||||||
// Moved from Madara to FuzzyDoodle
|
override val useNewChapterEndpoint = true
|
||||||
override val versionId = 2
|
|
||||||
|
override fun chapterListSelector() = "li.wp-manga-chapter>div:not(:has(a[href*=#]))"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue