Pixiv: fix chapter dates (#17289)
This commit is contained in:
parent
ffd04a5671
commit
2a47132cf9
|
@ -6,7 +6,7 @@ ext {
|
||||||
extName = 'Pixiv'
|
extName = 'Pixiv'
|
||||||
pkgNameSuffix = 'all.pixiv'
|
pkgNameSuffix = 'all.pixiv'
|
||||||
extClass = '.PixivFactory'
|
extClass = '.PixivFactory'
|
||||||
extVersionCode = 5
|
extVersionCode = 6
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -348,7 +348,7 @@ class Pixiv(override val lang: String) : HttpSource() {
|
||||||
SChapter.create().apply {
|
SChapter.create().apply {
|
||||||
setUrlWithoutDomain("/artworks/${illust.id!!}")
|
setUrlWithoutDomain("/artworks/${illust.id!!}")
|
||||||
name = illust.title ?: "(null)"
|
name = illust.title ?: "(null)"
|
||||||
date_upload = illust.upload_timestamp ?: 0
|
date_upload = (illust.upload_timestamp ?: 0) * 1000
|
||||||
chapter_number = i.toFloat()
|
chapter_number = i.toFloat()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue