feat: 添加Tailwind CSS支持并修复URL拼接问题
添加Tailwind CSS及相关配置 修复多个爬虫服务中的URL拼接问题,避免双斜杠 调整前端导航菜单项顺序
This commit is contained in:
@@ -105,10 +105,11 @@ export const ChdtpCrawler = {
|
||||
const dateStr = match[5]?.trim();
|
||||
|
||||
if (title && urlSuffix) {
|
||||
const fullUrl = this.baseUrl + urlSuffix;
|
||||
results.push({
|
||||
title,
|
||||
publishDate: dateStr ? new Date(dateStr) : new Date(),
|
||||
url: this.baseUrl + urlSuffix
|
||||
url: fullUrl.replace(/\/\//g, '/')
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user