[manga-raw.club] Fix empty thumbnails for search (#9045)

The search response uses relative urls for the thumbnail image.
This commit is contained in:
XdarkX 2021-09-13 17:21:10 +02:00 committed by GitHub
parent 62af1c06ab
commit b424acc954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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
} }

View File

@ -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