From 4c09ded9c1da7dfaf0118040f7000ebc7c428164 Mon Sep 17 00:00:00 2001 From: croire <1432593898@qq.com> Date: Wed, 2 Feb 2022 10:06:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4UserAgent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DownKyi.Core/BiliApi/WebClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DownKyi.Core/BiliApi/WebClient.cs b/DownKyi.Core/BiliApi/WebClient.cs index 7d3a676..520e5ef 100644 --- a/DownKyi.Core/BiliApi/WebClient.cs +++ b/DownKyi.Core/BiliApi/WebClient.cs @@ -51,7 +51,7 @@ namespace DownKyi.Core.BiliApi request.Timeout = 30 * 1000; // MacOS Safari - string safari = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15"; + //string safari = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15"; // Windows 10 Chrome string chrome = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"; request.UserAgent = chrome;