YM: Fix pages not found (#17675)
This commit is contained in:
parent
17378680de
commit
30a74800b0
|
@ -393,6 +393,11 @@ abstract class HeanCms(
|
||||||
override fun chapterListParse(response: Response): List<SChapter> {
|
override fun chapterListParse(response: Response): List<SChapter> {
|
||||||
val result = response.parseAs<HeanCmsSeriesDto>()
|
val result = response.parseAs<HeanCmsSeriesDto>()
|
||||||
|
|
||||||
|
if (slugStrategy == SlugStrategy.ID) {
|
||||||
|
preferences.slugMap = preferences.slugMap.toMutableMap()
|
||||||
|
.also { it[result.slug.toPermSlugIfNeeded()] = result.slug }
|
||||||
|
}
|
||||||
|
|
||||||
val currentTimestamp = System.currentTimeMillis()
|
val currentTimestamp = System.currentTimeMillis()
|
||||||
|
|
||||||
if (useNewQueryEndpoint) {
|
if (useNewQueryEndpoint) {
|
||||||
|
|
|
@ -15,7 +15,7 @@ class HeanCmsGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Glorious Scan", "https://gloriousscan.com", "pt-BR", overrideVersionCode = 17),
|
SingleLang("Glorious Scan", "https://gloriousscan.com", "pt-BR", overrideVersionCode = 17),
|
||||||
SingleLang("Omega Scans", "https://omegascans.org", "en", isNsfw = true, overrideVersionCode = 17),
|
SingleLang("Omega Scans", "https://omegascans.org", "en", isNsfw = true, overrideVersionCode = 17),
|
||||||
SingleLang("Reaper Scans", "https://reaperscans.net", "pt-BR", overrideVersionCode = 36),
|
SingleLang("Reaper Scans", "https://reaperscans.net", "pt-BR", overrideVersionCode = 36),
|
||||||
SingleLang("YugenMangas", "https://yugenmangas.net", "es", isNsfw = true, overrideVersionCode = 7),
|
SingleLang("YugenMangas", "https://yugenmangas.net", "es", isNsfw = true, overrideVersionCode = 8),
|
||||||
)
|
)
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|
Loading…
Reference in New Issue