♻️ 书源 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
@@ -25,8 +25,8 @@ function Source:loadTocAsync(_identity, cb, force)
|
||||
toc_requests[#toc_requests + 1] = item
|
||||
return { cancel = function() item.cancelled = true end }
|
||||
end
|
||||
local short = { source_id = "ext.zhihu", stable_id = "1/2" }
|
||||
local long = { source_id = "ext.zhihu", stable_id = "1" }
|
||||
local short = { source_id = "zhihu", stable_id = "1/2" }
|
||||
local long = { source_id = "zhihu", stable_id = "1" }
|
||||
local toc = { { idx = 1, uid = "2", title = "甲" }, { idx = 2, uid = "3", title = "乙" } }
|
||||
local result, err, calls = nil, nil, 0
|
||||
local function done(value, reason) result, err, calls = value, reason, calls + 1 end
|
||||
|
||||
Reference in new issue
Block a user