dmzj chapterList's api changed (#4115)
* dmzj chapterList's api changed * Update Dmzj.kt Add prefix
This commit is contained in:
parent
56198e2661
commit
7a8dfac7a8
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'Dmzj'
|
extName = 'Dmzj'
|
||||||
pkgNameSuffix = 'zh.dmzj'
|
pkgNameSuffix = 'zh.dmzj'
|
||||||
extClass = '.Dmzj'
|
extClass = '.Dmzj'
|
||||||
extVersionCode = 9
|
extVersionCode = 10
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -160,8 +160,8 @@ class Dmzj : HttpSource() {
|
||||||
ret.add(SChapter.create().apply {
|
ret.add(SChapter.create().apply {
|
||||||
name = "$prefix: ${chapter.getString("chapter_title")}"
|
name = "$prefix: ${chapter.getString("chapter_title")}"
|
||||||
date_upload = chapter.getString("updatetime").toLong() * 1000 // milliseconds
|
date_upload = chapter.getString("updatetime").toLong() * 1000 // milliseconds
|
||||||
// V3API url = "/chapter/$cid/${chapter.getString("chapter_id")}.json"
|
url = "$baseUrl/chapter/$cid/${chapter.getString("chapter_id")}.json"
|
||||||
url = "http://m.dmzj.com/chapinfo/$cid/${chapter.getString("chapter_id")}.html" // From m_readerBg.js
|
// url = "http://m.dmzj.com/chapinfo/$cid/${chapter.getString("chapter_id")}.html" // From m_readerBg.js
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue