|
|
@@ -148,7 +148,7 @@ public class GetIprDailyArticleService {
|
|
|
|
|
|
// 提取首个title
|
|
|
Element titleElement = liElement.selectFirst("dt.title");
|
|
|
- String title = titleElement.text();
|
|
|
+ String title = titleElement.text().trim();
|
|
|
// 检查文章是否已存在
|
|
|
long count = articleInfoService.count(new LambdaQueryWrapper<ArticleInfo>()
|
|
|
.eq(ArticleInfo::getTitle, title)
|