[manga-raw.club] Fix empty thumbnails for search (#9045)
The search response uses relative urls for the thumbnail image.
This commit is contained in:
parent
62af1c06ab
commit
b424acc954
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'manga-raw.club'
|
extName = 'manga-raw.club'
|
||||||
pkgNameSuffix = 'en.mangarawclub'
|
pkgNameSuffix = 'en.mangarawclub'
|
||||||
extClass = '.MangaRawClub'
|
extClass = '.MangaRawClub'
|
||||||
extVersionCode = 3
|
extVersionCode = 4
|
||||||
containsNsfw = true
|
containsNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ class MangaRawClub : ParsedHttpSource() {
|
||||||
if (titleElement == null) {
|
if (titleElement == null) {
|
||||||
titleElement = element.getElementsByClass("novel-title text2row").first()
|
titleElement = element.getElementsByClass("novel-title text2row").first()
|
||||||
}
|
}
|
||||||
manga.thumbnail_url = coverElement.select("img").attr("data-src")
|
manga.thumbnail_url = coverElement.select("img").attr("abs:data-src")
|
||||||
manga.setUrlWithoutDomain(element.select("a").first().attr("href"))
|
manga.setUrlWithoutDomain(element.select("a").first().attr("href"))
|
||||||
manga.title = titleElement.text()
|
manga.title = titleElement.text()
|
||||||
return manga
|
return manga
|
||||||
|
|
Loading…
Reference in New Issue