♻️ 书源 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 0c6553d8d9
commit fb28126f5a
5 files changed
+5 -5

No files matched your search

@@ -7,7 +7,7 @@
local _ = require("l10n").get("moonsource_changpei")
return {
id = "ext.changpei",
id = "changpei",
name = _("长佩文学"),
type = "chapter",
description = _("长佩文学书架与在线阅读"),
@@ -19,7 +19,7 @@ local _ = require("l10n").get("moonsource_changpei")
local Client = {}
local SOURCE_ID = "ext.changpei"
local SOURCE_ID = "changpei"
local LOGIN_REQUIRED = 9996
Client.VERIFY_REQUIRED = _("长佩需要滑块验证,请打开章节并扫码完成验证,无需重新登录。")
@@ -10,7 +10,7 @@ local _ = require("l10n").get("moonsource_changpei")
local Mapper = {}
local SOURCE_ID = "ext.changpei"
local SOURCE_ID = "changpei"
-- 网页端正文 AES-128-CBC 的固定密钥与 IV(出自官网 h5 脚本)。
local KEY = "u0LRrbu$Enm84koA"
@@ -11,7 +11,7 @@
local _ = require("l10n").get("moonsource_changpei")
local CookieLogin = require("source.cookie_login")
local SOURCE_ID = "ext.changpei"
local SOURCE_ID = "changpei"
local Setting = {}
---@return boolean