Hentai2Read: Fix id search (#6009)

This commit is contained in:
scb261 2021-03-01 01:27:33 +02:00 committed by GitHub
parent 2364576a72
commit 160fb43769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Hentai2Read'
pkgNameSuffix = 'en.hentai2read'
extClass = '.Hentai2Read'
extVersionCode = 11
extVersionCode = 12
libVersion = '1.2'
containsNsfw = true
}

View File

@ -169,6 +169,7 @@ class Hentai2Read : ParsedHttpSource() {
manga.description = buildDescription(infoElement)
manga.status = infoElement.select("li:contains(Status) > a")?.text().orEmpty().let { parseStatus(it) }
manga.thumbnail_url = document.select("a#js-linkNext > img")?.attr("src")
manga.title = document.select("h3.block-title > a").first().ownText().trim()
return manga
}