HentaiHere: Fix manga title selector (#14406)

This commit is contained in:
Vetle Ledaal 2022-12-01 04:51:02 +01:00 committed by GitHub
parent 3af0f71eaf
commit e7f692d8a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'HentaiHere' extName = 'HentaiHere'
pkgNameSuffix = 'en.hentaihere' pkgNameSuffix = 'en.hentaihere'
extClass = '.HentaiHere' extClass = '.HentaiHere'
extVersionCode = 3 extVersionCode = 4
isNsfw = true isNsfw = true
} }

View File

@ -153,7 +153,7 @@ class HentaiHere : ParsedHttpSource() {
val contents = document.select("#info .text-info:contains(Content:) ~ a") val contents = document.select("#info .text-info:contains(Content:) ~ a")
val licensed = categories.find { it.text() == "Licensed" } val licensed = categories.find { it.text() == "Licensed" }
title = document.select("*[itemprop='name']").first()!!.text() title = document.select("h4 > a").first()!!.ownText()
author = document.select("#info .text-info:contains(Artist:) ~ a") author = document.select("#info .text-info:contains(Artist:) ~ a")
.joinToString { it.text() } .joinToString { it.text() }