ResetScans: Migrate theme (#5794)
* Migrate theme * Add latestFromHomePage and fix versionCode
This commit is contained in:
parent
4064b06759
commit
bd37268e7f
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue