[Hitomi.La] Small fix for red covers

master
Draken 12 months ago committed by GitHub
parent 362f9c6786
commit 8eaad2270b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -519,9 +519,8 @@ internal class HitomiLaParser(context: MangaLoaderContext) : LegacyMangaParser(c
url = id.toString(),
coverUrl =
"https:" +
doc.selectFirstOrThrow("picture > source")
.attr("data-srcset")
.substringBefore(" "),
doc.selectFirstOrThrow("picture > img")
.attr("data-src"),
publicUrl =
doc.selectFirstOrThrow("h1 > a")
.attrAsRelativeUrl("href")

Loading…
Cancel
Save