YM: Fix pages not found (#17675)

This commit is contained in:
bapeey 2023-08-26 09:24:50 -05:00 committed by GitHub
parent 17378680de
commit 30a74800b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -393,6 +393,11 @@ abstract class HeanCms(
override fun chapterListParse(response: Response): List<SChapter> {
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()
if (useNewQueryEndpoint) {

View File

@ -15,7 +15,7 @@ class HeanCmsGenerator : ThemeSourceGenerator {
SingleLang("Glorious Scan", "https://gloriousscan.com", "pt-BR", overrideVersionCode = 17),
SingleLang("Omega Scans", "https://omegascans.org", "en", isNsfw = true, overrideVersionCode = 17),
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 {