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'
|
extName = 'MyHentaiGallery'
|
||||||
pkgNameSuffix = 'en.myhentaigallery'
|
pkgNameSuffix = 'en.myhentaigallery'
|
||||||
extClass = '.MyHentaiGallery'
|
extClass = '.MyHentaiGallery'
|
||||||
extVersionCode = 3
|
extVersionCode = 4
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -111,7 +111,7 @@ class MyHentaiGallery : ParsedHttpSource() {
|
||||||
title = info.select("h1").text()
|
title = info.select("h1").text()
|
||||||
genre = info.select("div:containsOwn(categories) a").joinToString { it.text() }
|
genre = info.select("div:containsOwn(categories) a").joinToString { it.text() }
|
||||||
artist = info.select("div:containsOwn(artists) a").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 ->
|
description = info.select("div:containsOwn(groups) a").let { groups ->
|
||||||
if (groups.isNotEmpty()) "Groups: ${groups.joinToString { it.text() }}\n" else ""
|
if (groups.isNotEmpty()) "Groups: ${groups.joinToString { it.text() }}\n" else ""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue