From 10f98cf350442ca44f64aaf8b6a914f9ebfbe12a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?old=E6=98=93?= <156663459@qq.com> Date: Thu, 14 Mar 2024 10:08:15 +0800 Subject: [PATCH] =?UTF-8?q?spider=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- New_College.Tasks/HtmlAgSpider/HtmlAgHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/New_College.Tasks/HtmlAgSpider/HtmlAgHelper.cs b/New_College.Tasks/HtmlAgSpider/HtmlAgHelper.cs index 9a7576c..4feafa4 100644 --- a/New_College.Tasks/HtmlAgSpider/HtmlAgHelper.cs +++ b/New_College.Tasks/HtmlAgSpider/HtmlAgHelper.cs @@ -36,7 +36,7 @@ namespace New_College.Tasks title = inntertitle, author = author, pubtime = Convert.ToDateTime(createtime), - detail = innerhtml + detail = innerhtml.Replace("src=\"", "src=\"https://www.sdzk.cn").Replace("href=\"", "href=\"https://www.sdzk.cn") }); }); return list;