diff --git a/BiliAccount/BiliAccount.csproj b/BiliAccount/BiliAccount.csproj
index a6f7002..368be2e 100644
--- a/BiliAccount/BiliAccount.csproj
+++ b/BiliAccount/BiliAccount.csproj
@@ -6,7 +6,7 @@
BiliAccount
true
BiliAccount
- 2.3.5.19
+ 2.3.6.20
LeoChen
zhangbudademao.com
BiliAccount
@@ -20,7 +20,7 @@
favicon_4.png
fixes:
- 1. 修复.net core 3.x下二维码登录转换错误的问题。
+ 1. 修复.net core 3.x下二维码登录返回值转换错误的问题。
true
snupkg
diff --git a/BiliAccount/Core/ByQRCode.cs b/BiliAccount/Core/ByQRCode.cs
index 876d408..6fc8e78 100644
--- a/BiliAccount/Core/ByQRCode.cs
+++ b/BiliAccount/Core/ByQRCode.cs
@@ -8,6 +8,7 @@
#if NETSTANDARD2_0 || NETCORE3_0
using QRCoder;
using Newtonsoft.Json;
+using Newtonsoft.Json.Linq;
#else
using System.Web.Script.Serialization;
@@ -112,8 +113,12 @@ private static void MonitorCallback(object o)
Refresher.Dispose();
Account account = new Account();
-
+#if NETSTANDARD2_0 || NETCORE3_0
+ string Querystring = Regex.Split((obj.data as JObject)["url"].ToString(), "\\?")[1];
+#else
string Querystring = Regex.Split((obj.data as Dictionary)["url"].ToString(), "\\?")[1];
+#endif
+
string[] KeyValuePair = Regex.Split(Querystring, "&");
account.Cookies = new CookieCollection();
for (int i = 0; i < KeyValuePair.Length - 1; i++)