[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(), url = id.toString(),
coverUrl = coverUrl =
"https:" + "https:" +
doc.selectFirstOrThrow("picture > source") doc.selectFirstOrThrow("picture > img")
.attr("data-srcset") .attr("data-src"),
.substringBefore(" "),
publicUrl = publicUrl =
doc.selectFirstOrThrow("h1 > a") doc.selectFirstOrThrow("h1 > a")
.attrAsRelativeUrl("href") .attrAsRelativeUrl("href")

Loading…
Cancel
Save