Merge branch 'id3'
Co-Authored-By: Claude Fable 5.1 <[email protected]> # Conflicts: # CHANGELOG.md
This commit is contained in:
commit
a9511a75f6
23 files changed
+1320
-14
No files matched your search
@@ -207,6 +207,12 @@ const IDENTITY_CARD: CardSpec = {
|
||||
hint: "每条新资源都查一次 TMDB。RSS 量大时每天可能上千次请求,站点独有的短剧和综艺多半查不到",
|
||||
wide: true,
|
||||
},
|
||||
{
|
||||
name: "identity.detailIdsPerSiteHour",
|
||||
label: "识别时每站每小时最多抓详情页",
|
||||
kind: "number",
|
||||
hint: "标题认不准时,抓站点详情页取 IMDb、TMDB 或豆瓣 ID 再识别;只在搜索、订阅相关资源、补全和手动重新识别时抓,RSS 入库不抓。0 = 不抓",
|
||||
},
|
||||
{
|
||||
name: "identity.autoEnrich",
|
||||
label: "TMDB 查不到时自动补全元数据",
|
||||
@@ -241,6 +247,7 @@ const IDENTITY_CARD: CardSpec = {
|
||||
"identity.enrichDailyBudget": n(s.identity.enrichDailyBudget),
|
||||
"identity.enrichDomains": s.identity.enrichDomains.join("\n"),
|
||||
"identity.enrichSnippetAllSites": s.identity.enrichSnippetAllSites ?? true,
|
||||
"identity.detailIdsPerSiteHour": n(s.identity.detailIdsPerSiteHour ?? 10),
|
||||
}),
|
||||
toPatch: (v) => ({
|
||||
identity: {
|
||||
@@ -252,6 +259,7 @@ const IDENTITY_CARD: CardSpec = {
|
||||
.map((d) => d.trim().toLowerCase())
|
||||
.filter(Boolean),
|
||||
enrichSnippetAllSites: v["identity.enrichSnippetAllSites"] === true,
|
||||
detailIdsPerSiteHour: Number(v["identity.detailIdsPerSiteHour"]),
|
||||
},
|
||||
}),
|
||||
extra: () => <EnrichStatsTable />,
|
||||
|
||||
Reference in new issue
Block a user