NineAnime - fix chapter names (#3473)
This commit is contained in:
parent
b1a4cd44b5
commit
df1fee08c2
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: NineAnime'
|
||||
pkgNameSuffix = 'en.nineanime'
|
||||
extClass = '.NineAnime'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ class NineAnime : ParsedHttpSource() {
|
|||
override fun chapterFromElement(element: Element): SChapter {
|
||||
return SChapter.create().apply {
|
||||
element.select("a").let {
|
||||
name = it.text()
|
||||
name = it.select("span").firstOrNull()?.text() ?: it.text()
|
||||
setUrlWithoutDomain(it.attr("href"))
|
||||
}
|
||||
date_upload = element.select("span.time").text().toDate()
|
||||
|
|
Loading…
Reference in New Issue