[Hitomi.La] Small fix for red covers

This commit is contained in:
Draken
2025-05-08 12:54:15 +07:00
committed by GitHub
parent 362f9c6786
commit 8eaad2270b

View File

@@ -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")