♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
730b2d6d9f
commit
1acdc500ca
7 files changed
+7
-7
No files matched your search
@@ -29,7 +29,7 @@ package.preload["moonsource_qqreader.client"] = function()
|
||||
requests[#requests + 1] = path
|
||||
local idx, page = #requests, tonumber(path:match("(%d+)$"))
|
||||
local books = {}
|
||||
for item = 1, 20 do books[item] = { source_id = "ext.qqreader", stable_id = tostring((page - 1) * 20 + item) } end
|
||||
for item = 1, 20 do books[item] = { source_id = "qqreader", stable_id = tostring((page - 1) * 20 + item) } end
|
||||
if delayed and page == 2 then late = function() cb(books) end else cb(books) end
|
||||
return { cancel = function() cancelled[idx] = true end }
|
||||
end }
|
||||
|
||||
Reference in new issue
Block a user