Random Gallery Added

Changed tag search behavior
Loading time improved for hitomi.la
Bug fixed
This commit is contained in:
tom5079
2020-06-14 16:53:30 +09:00
parent b3feee6d9d
commit 49ba579a59
19 changed files with 90 additions and 37 deletions

View File

@@ -16,10 +16,20 @@
package xyz.quaver
import kotlinx.serialization.UnstableDefault
import kotlinx.serialization.json.Json
import java.net.Proxy
var proxy = Proxy.NO_PROXY
@OptIn(UnstableDefault::class)
var json = Json {
isLenient = true
ignoreUnknownKeys = true
serializeSpecialFloatingPointValues = true
useArrayPolymorphism = true
}
fun availableInHiyobi(galleryID: Int) : Boolean {
return try {
xyz.quaver.hiyobi.getReader(galleryID)