♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
GarfieldandCopilot committed 2026-11-16 14:07:45 +08:00
1 parent 0907702861
commit b45d47aea5
8 files changed
+38 -38

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ function source:loadTocAsync(_identity, cb)
if not delayed then cb(toc) end
return { cancel = function() stopped = true end }
end
local identity = { source_id = "ext.xiaoxiang", stable_id = "123" }
local identity = { source_id = "xiaoxiang", stable_id = "123" }
local result, err
source:getProgressAsync(identity, function(data) result = data end)
A.eq(result.chapter_idx, 2)