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:
dngonz 2024-11-20 10:17:08 +01:00 committed by Draff
parent bcf57d6f73
commit 5b2ccea602
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 15 additions and 9 deletions

View File

@ -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
}

View File

@ -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*=#]))"
}