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 {
|
||||
extName = 'Reset Scans'
|
||||
extClass = '.ResetScans'
|
||||
themePkg = 'fuzzydoodle'
|
||||
baseUrl = 'https://reset-scans.xyz'
|
||||
overrideVersionCode = 43
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://rspro.xyz'
|
||||
overrideVersionCode = 8
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
|
|
|
@ -1,13 +1,19 @@
|
|||
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",
|
||||
"https://reset-scans.xyz",
|
||||
"https://rspro.xyz",
|
||||
"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 versionId = 2
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override fun chapterListSelector() = "li.wp-manga-chapter>div:not(:has(a[href*=#]))"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue