♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
01e572a5ee
commit
f8ad3f73a6
29 files changed
+173
-173
No files matched your search
@@ -20,7 +20,7 @@ package.preload["moonsource_weread.chapter"] = function()
|
||||
end
|
||||
local Position = require("moonsource_weread.progress")
|
||||
local Paths = require("utils.paths")
|
||||
local identity = { source_id = "ext.weread", stable_id = "progress-coordinate-spec" }
|
||||
local identity = { source_id = "weread", stable_id = "progress-coordinate-spec" }
|
||||
local chapter = { idx = 1, uid = "old", title = "章名" }
|
||||
local path = Paths.bookWorkDir(identity.stable_id, identity.source_id) .. "/1.position.json"
|
||||
local local_path = Paths.chapterPath(identity.stable_id, 1, identity.source_id)
|
||||
@@ -93,7 +93,7 @@ do
|
||||
.. '<div><img class="qqreader-fullimg" src="a.jpg"/></div>'
|
||||
.. '<div><img class="qqreader-fullimg" src="b.jpg"/></div>'
|
||||
.. '</body></html>'
|
||||
local comic_id = { source_id = "ext.weread", stable_id = "progress-comic-spec" }
|
||||
local comic_id = { source_id = "weread", stable_id = "progress-comic-spec" }
|
||||
local comic_chapter = { idx = 4, uid = "29", title = "向日葵花园" }
|
||||
local comic_local = Paths.chapterPath(comic_id.stable_id, 4, comic_id.source_id)
|
||||
Paths.ensureDir(comic_local:match("(.+)/[^/]+$"))
|
||||
|
||||
Reference in new issue
Block a user