|
|
|
@ -28,7 +28,11 @@ class HentaiUkrParser(context: MangaLoaderContext) : MangaParser(context, MangaS
|
|
|
|
private val date = SimpleDateFormat("yyyy-MM-dd", Locale.US)
|
|
|
|
private val date = SimpleDateFormat("yyyy-MM-dd", Locale.US)
|
|
|
|
|
|
|
|
|
|
|
|
private val allManga = SoftSuspendLazy {
|
|
|
|
private val allManga = SoftSuspendLazy {
|
|
|
|
webClient.httpGet("https://$domain/search/objects2.json").parseJson().getJSONArray("manga").toJSONList()
|
|
|
|
runCatchingCancellable {
|
|
|
|
|
|
|
|
webClient.httpGet("https://$domain/search/objects.json").parseJson()
|
|
|
|
|
|
|
|
}.recoverCatchingCancellable {
|
|
|
|
|
|
|
|
webClient.httpGet("https://$domain/search/objects2.json").parseJson()
|
|
|
|
|
|
|
|
}.getOrThrow().getJSONArray("manga").toJSONList()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain("hentaiukr.com")
|
|
|
|
override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain("hentaiukr.com")
|
|
|
|
|