[HentaiLib] Update domain + allow user to set custom (#1908)

master
Iwakurra 10 months ago committed by GitHub
parent f8992457dc
commit 553615b3ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -12,5 +12,5 @@ internal class HentaiLibParser(context: MangaLoaderContext) : LibSocialParser(
context = context, context = context,
source = MangaParserSource.HENTAILIB, source = MangaParserSource.HENTAILIB,
siteId = 4, siteId = 4,
siteDomain = "hentailib.me", siteDomain = "v1.hentailib.org",
) )

@ -237,7 +237,6 @@ internal abstract class LibSocialParser(
override fun onCreateConfig(keys: MutableCollection<ConfigKey<*>>) { override fun onCreateConfig(keys: MutableCollection<ConfigKey<*>>) {
super.onCreateConfig(keys) super.onCreateConfig(keys)
keys.remove(configKeyDomain)
keys.add(splitTranslationsKey) keys.add(splitTranslationsKey)
keys.add(preferredServerKey) keys.add(preferredServerKey)
} }

Loading…
Cancel
Save