mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
fixed author/artist not showing for Mangahere. (#1032)
This commit is contained in:
parent
4abd2d709f
commit
5b6c475817
1 changed files with 2 additions and 2 deletions
|
@ -111,8 +111,8 @@ class Mangahere : ParsedHttpSource() {
|
|||
val infoElement = detailElement.select(".detail_topText").first()
|
||||
|
||||
val manga = SManga.create()
|
||||
manga.author = infoElement.select("a[href^=http://www.mangahere.co/author/]").first()?.text()
|
||||
manga.artist = infoElement.select("a[href^=http://www.mangahere.co/artist/]").first()?.text()
|
||||
manga.author = infoElement.select("a[href^=//www.mangahere.co/author/]").first()?.text()
|
||||
manga.artist = infoElement.select("a[href^=//www.mangahere.co/artist/]").first()?.text()
|
||||
manga.genre = infoElement.select("li:eq(3)").first()?.text()?.substringAfter("Genre(s):")
|
||||
manga.description = infoElement.select("#show").first()?.text()?.substringBeforeLast("Show less")
|
||||
manga.status = infoElement.select("li:eq(6)").first()?.text().orEmpty().let { parseStatus(it) }
|
||||
|
|
Loading…
Reference in a new issue