Hentai2Read: fix broken covers (#2085)

Hentai2Read: fix broken covers (#1776)
This commit is contained in:
Guuza 2024-03-25 05:23:24 -03:00 committed by Draff
parent 23815a1ee1
commit 78f2c9c650
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Hentai2Read'
extClass = '.Hentai2Read'
extVersionCode = 14
extVersionCode = 15
isNsfw = true
}

View File

@ -57,7 +57,7 @@ class Hentai2Read : ParsedHttpSource() {
override fun popularMangaFromElement(element: Element): SManga {
return SManga.create().apply {
thumbnail_url = element.select("img").attr("abs:data-src")
thumbnail_url = element.select("img").attr("abs:src")
element.select("div.overlay-title a").let {
title = it.text()
setUrlWithoutDomain(it.attr("href"))