抓取前检查内容库是否已存在相同链接

- 抓取前先搜索内容库检查 URL 是否已存在
- 已存在的链接标记为黄色,显示'已存在'
- 避免重复抓取和保存
- 添加 checkUrlExists 函数
This commit is contained in:
2026-07-13 17:20:33 +08:00
parent c3eef4fa21
commit dcd13dec4f
2 changed files with 49 additions and 1 deletions
+5
View File
@@ -217,6 +217,11 @@
background: #f0fdf4;
}
.result-item.exists {
border-color: #f59e0b;
background: #fffbeb;
}
.result-item.fetched {
border-color: #3b82f6;
}