[QOL] Manhuaren - Identify locked chapters (#1676)
[QOL] Manhuaren - Identify locked chapters
This commit is contained in:
parent
c23919892b
commit
e9336cfbf8
@ -5,7 +5,7 @@ ext {
|
|||||||
appName = 'Tachiyomi: Manhuaren'
|
appName = 'Tachiyomi: Manhuaren'
|
||||||
pkgNameSuffix = 'zh.manhuaren'
|
pkgNameSuffix = 'zh.manhuaren'
|
||||||
extClass = '.Manhuaren'
|
extClass = '.Manhuaren'
|
||||||
extVersionCode = 6
|
extVersionCode = 7
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -233,7 +233,7 @@ class Manhuaren : HttpSource() {
|
|||||||
val obj = arr.getJSONObject(i)
|
val obj = arr.getJSONObject(i)
|
||||||
ret.add(SChapter.create().apply {
|
ret.add(SChapter.create().apply {
|
||||||
val dateFormat = SimpleDateFormat("yyyy-MM-dd", Locale.getDefault())
|
val dateFormat = SimpleDateFormat("yyyy-MM-dd", Locale.getDefault())
|
||||||
name = getChapterName(type, obj.getString("sectionName"), obj.getString("sectionTitle"))
|
name = if (obj.getInt("isMustPay")==1) {"(锁) "} else {""} + getChapterName(type, obj.getString("sectionName"), obj.getString("sectionTitle"))
|
||||||
date_upload = dateFormat.parse(obj.getString("releaseTime")).time
|
date_upload = dateFormat.parse(obj.getString("releaseTime")).time
|
||||||
chapter_number = obj.getInt("sectionSort").toFloat()
|
chapter_number = obj.getInt("sectionSort").toFloat()
|
||||||
url = "/v1/manga/getRead?mangaSectionId=${obj.getInt("sectionId")}"
|
url = "/v1/manga/getRead?mangaSectionId=${obj.getInt("sectionId")}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user