fix some manga id parse problem (#17229)

fix some manga id parse problem caused by regex
This commit is contained in:
2Loong6 2023-07-23 21:33:08 +08:00 committed by GitHub
parent d83079afa0
commit e258e74746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -75,6 +75,6 @@ class KissLove : FMReader("KissLove", "https://klz9.com", "ja") {
}
companion object {
private val MID_URL_REGEX = "ybed-([^.]+).html".toRegex()
private val MID_URL_REGEX = "-([^.]+).html".toRegex()
}
}

View File

@ -15,7 +15,7 @@ class FMReaderGenerator : ThemeSourceGenerator {
override val sources = listOf(
MultiLang("Manhwa18.net", "https://manhwa18.net", listOf("en", "ko"), className = "Manhwa18NetFactory", isNsfw = true),
SingleLang("Epik Manga", "https://www.epikmanga.com", "tr"),
SingleLang("KissLove", "https://klz9.com", "ja", isNsfw = true, overrideVersionCode = 3),
SingleLang("KissLove", "https://klz9.com", "ja", isNsfw = true, overrideVersionCode = 4),
SingleLang("Manga-TR", "https://manga-tr.com", "tr", className = "MangaTR", overrideVersionCode = 1),
SingleLang("ManhuaRock", "https://manhuarock.net", "vi", overrideVersionCode = 1),
SingleLang("Manhwa18", "https://manhwa18.com", "en", isNsfw = true, overrideVersionCode = 2),