ResetScans: Migrate theme (#5794)

* Migrate theme

* Add latestFromHomePage and fix versionCode
This commit is contained in:
Chopper 2024-11-01 07:20:49 -03:00 committed by Draff
parent 4064b06759
commit bd37268e7f
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 9 additions and 13 deletions

View File

@ -1,9 +1,9 @@
ext { ext {
extName = 'Reset Scans' extName = 'Reset Scans'
extClass = '.ResetScans' extClass = '.ResetScans'
themePkg = 'madara' themePkg = 'fuzzydoodle'
baseUrl = 'https://rspro.xyz' baseUrl = 'https://reset-scans.xyz'
overrideVersionCode = 6 overrideVersionCode = 43
isNsfw = false isNsfw = false
} }

View File

@ -1,17 +1,13 @@
package eu.kanade.tachiyomi.extension.en.resetscans package eu.kanade.tachiyomi.extension.en.resetscans
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.fuzzydoodle.FuzzyDoodle
import java.text.SimpleDateFormat
import java.util.Locale
class ResetScans : Madara( class ResetScans : FuzzyDoodle(
"Reset Scans", "Reset Scans",
"https://rspro.xyz", "https://reset-scans.xyz",
"en", "en",
dateFormat = SimpleDateFormat("MMM dd", Locale("en")),
) { ) {
override val latestFromHomePage = true
override val useLoadMoreRequest = LoadMoreStrategy.Always // Moved from Madara to FuzzyDoodle
override val useNewChapterEndpoint = true override val versionId = 2
override fun chapterListSelector(): String = "li.wp-manga-chapter.free-chap"
override val chapterUrlSelector = "div > a"
} }