Komikcast: Fix description parsing issue (#1310)
some manga have unknown description Signed-off-by: Rama Bondan Prakoso <ramanarubp@gmail.com>
This commit is contained in:
parent
66017dc432
commit
a413029a76
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: Komikcast'
|
appName = 'Tachiyomi: Komikcast'
|
||||||
pkgNameSuffix = 'id.komikcast'
|
pkgNameSuffix = 'id.komikcast'
|
||||||
extClass = '.Komikcast'
|
extClass = '.Komikcast'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,7 @@ class Komikcast : ParsedHttpSource() {
|
||||||
}
|
}
|
||||||
manga.genre = genres.joinToString(", ")
|
manga.genre = genres.joinToString(", ")
|
||||||
manga.status = parseStatus(infoElement.select(".spe > span:nth-child(2)").text())
|
manga.status = parseStatus(infoElement.select(".spe > span:nth-child(2)").text())
|
||||||
manga.description = document.select("div.desc div p:nth-child(1)")?.text()
|
manga.description = document.select("div[^itemprop]").last().text()
|
||||||
manga.thumbnail_url = document.select(".thumb > img:nth-child(1)").attr("src")
|
manga.thumbnail_url = document.select(".thumb > img:nth-child(1)").attr("src")
|
||||||
|
|
||||||
return manga
|
return manga
|
||||||
|
|
Loading…
Reference in New Issue