diff --git a/crates/bili_sync/src/bilibili/client.rs b/crates/bili_sync/src/bilibili/client.rs index 99462b2..762af6f 100644 --- a/crates/bili_sync/src/bilibili/client.rs +++ b/crates/bili_sync/src/bilibili/client.rs @@ -20,7 +20,7 @@ impl Client { let mut headers = header::HeaderMap::new(); headers.insert( header::USER_AGENT, - header::HeaderValue::from_static(ua::spoof_chrome_mac_ua()), + header::HeaderValue::from_static(ua::spoof_chrome_ua()), ); headers.insert( header::REFERER, diff --git a/web/src/lib/components/video-card.svelte b/web/src/lib/components/video-card.svelte index da79b9a..c0701bf 100644 --- a/web/src/lib/components/video-card.svelte +++ b/web/src/lib/components/video-card.svelte @@ -57,7 +57,7 @@ style: string; } { if (!shouldDownload) { - // 被筛选规则排除,显示为“跳过” + // 被过滤规则排除,显示为“跳过” return { text: '跳过', style: 'bg-gray-100 text-gray-700' }; } const completed = downloadStatus.filter((status) => status === 7).length; diff --git a/web/src/routes/video-sources/+page.svelte b/web/src/routes/video-sources/+page.svelte index 99d5734..638b3e3 100644 --- a/web/src/routes/video-sources/+page.svelte +++ b/web/src/routes/video-sources/+page.svelte @@ -265,9 +265,9 @@ - 名称 - 下载路径 - 筛选规则 + 名称 + 下载路径 + 过滤规则 状态 操作 @@ -288,9 +288,9 @@
-
- {source.rule.length} 条规则 -
+ {source.rule.length} 条规则

{source.ruleDisplay}

@@ -298,7 +298,7 @@
{:else} - + - {/if} @@ -416,7 +416,7 @@ 重新评估规则 - 确定要重新评估视频源 "{evaluateSource?.name}" 的筛选规则吗?
+ 确定要重新评估视频源 "{evaluateSource?.name}" 的过滤规则吗?
规则修改后默认仅对新视频生效,该操作可使用当前规则对数据库中已存在的历史视频进行重新评估,无法撤销