♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
73a4f219c8
commit
0a69fe7728
8 files changed
+15
-15
No files matched your search
@@ -26,7 +26,7 @@ package.preload["source.chapter"] = function()
|
||||
}
|
||||
end
|
||||
local opened
|
||||
source:openBookAsync({ source_id = "ext.qidian", stable_id = "fixture" }, { chapter_idx = 1 },
|
||||
source:openBookAsync({ source_id = "qidian", stable_id = "fixture" }, { chapter_idx = 1 },
|
||||
function(value) opened = value end)
|
||||
Assert.eq(opened, path)
|
||||
file = assert(io.open(path, "rb"))
|
||||
|
||||
Reference in new issue
Block a user