♻️ 书源 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 1698ed8412
commit c029847ffd
10 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ function source:loadTocAsync(_identity, cb)
return { cancel = function() end }
end
for _idx, method in ipairs({ "paragraphHotspotsAsync", "paragraphReviewPageAsync" }) do
local identity = { source_id = "ext.douban", stable_id = "test", chapter_idx = 1 }
local identity = { source_id = "douban", stable_id = "test", chapter_idx = 1 }
local handle
if method == "paragraphHotspotsAsync" then
handle = source:paragraphHotspotsAsync(identity, function() calls = calls + 1 end)