From bb0799c9e5e509722fefc076659793702791f40d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?old=E6=98=93?= <156663459@qq.com> Date: Wed, 11 Dec 2024 15:40:12 +0800 Subject: [PATCH] bug fixed --- New_College.Tasks/HostedService/JobTimedSpiderService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/New_College.Tasks/HostedService/JobTimedSpiderService.cs b/New_College.Tasks/HostedService/JobTimedSpiderService.cs index 8955be3..47870ec 100644 --- a/New_College.Tasks/HostedService/JobTimedSpiderService.cs +++ b/New_College.Tasks/HostedService/JobTimedSpiderService.cs @@ -79,6 +79,7 @@ namespace New_College.Tasks var list = anghelper.HtmlCreatePageData(p.RegionCode); list.ForEach(async c => { + // c.title = c.title.Replace($"{p.SimpleName}:", ""); var newsinfo = await newsInfoServices.Query(e => e.Title.Trim() == c.title); if (!newsinfo.Any() && c.pubtime.Year > DateTime.Now.Year - 1) {