NineAnime - fix chapter names (#3473)

This commit is contained in:
Mike 2020-06-10 01:26:41 -04:00 committed by GitHub
parent b1a4cd44b5
commit df1fee08c2
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 {
appName = 'Tachiyomi: NineAnime'
pkgNameSuffix = 'en.nineanime'
extClass = '.NineAnime'
extVersionCode = 1
extVersionCode = 2
libVersion = '1.2'
}

View File

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