Forgot to handle error :P

This commit is contained in:
Pupil
2020-01-15 10:58:53 +09:00
parent 93228459d7
commit e0ccac13c1
6 changed files with 21 additions and 9 deletions

View File

@@ -20,7 +20,6 @@ import kotlinx.serialization.Serializable
import org.jsoup.Jsoup
fun getReferer(galleryID: Int) = "https://hitomi.la/reader/$galleryID.html"
fun webpUrlFromUrl(url: String) = url.replace("/galleries/", "/webp/") + ".webp"
@Serializable
data class GalleryInfo(