MyHentaiGallery: Fix broken thumbnail_url in mangaDetailsParse (#13627)
* Remove broken thumbnail_url in mangaDetailsParse * Add back thumbnail_url
This commit is contained in:
parent
8553e161bc
commit
31f933ff08
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'MyHentaiGallery'
|
||||
pkgNameSuffix = 'en.myhentaigallery'
|
||||
extClass = '.MyHentaiGallery'
|
||||
extVersionCode = 3
|
||||
extVersionCode = 4
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ class MyHentaiGallery : ParsedHttpSource() {
|
|||
title = info.select("h1").text()
|
||||
genre = info.select("div:containsOwn(categories) a").joinToString { it.text() }
|
||||
artist = info.select("div:containsOwn(artists) a").text()
|
||||
thumbnail_url = info.select("div.comic-cover img").attr("abs:src")
|
||||
thumbnail_url = document.selectFirst(".comic-listing .comic-inner img")?.attr("src")
|
||||
description = info.select("div:containsOwn(groups) a").let { groups ->
|
||||
if (groups.isNotEmpty()) "Groups: ${groups.joinToString { it.text() }}\n" else ""
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue