♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
6379a117c2
commit
0174664163
15 files changed
+47
-47
No files matched your search
@@ -23,7 +23,7 @@ local BookDB = require("book.books_db")
|
||||
local ProgressDB = require("book.progress_db")
|
||||
local NoteDB = require("book.note_db")
|
||||
local Store = require("book.store")
|
||||
local identity = { source_id = "ext.zhihu", stable_id = "910000001/910000002" }
|
||||
local identity = { source_id = "zhihu", stable_id = "910000001/910000002" }
|
||||
local original = Paths.chapterPath(identity.stable_id, 1, identity.source_id)
|
||||
local dest = Paths.bookWorkDir(identity.stable_id, identity.source_id) .. "/book.epub"
|
||||
Assert.is_true(Paths.ensureDir(original:match("(.+)/[^/]+$")))
|
||||
|
||||
Reference in new issue
Block a user