Skip to content

Commit

Permalink
Merge pull request #41 from bf179/patch-1
Browse files Browse the repository at this point in the history
前端页面更新pixiv cookie
  • Loading branch information
GardenHamster authored Dec 21, 2023
2 parents 4a1a142 + ad35aea commit edb0672
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Theresa3rd-Bot/TheresaBot.Main/Services/WebsiteService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public WebsitePO UpdatePixivCookie(string cookie)
throw new HandleException($"cookie中缺少PHPSESSID,请重新获取cookie");
}

//11451419_iUaiFfh68q6INMejIBGcLfhju9Ok70UB
var splitArr = sessionId.Split('_', StringSplitOptions.RemoveEmptyEntries);
if (splitArr.Length < 2 || string.IsNullOrWhiteSpace(splitArr[0]))
{
Expand Down

0 comments on commit edb0672

Please sign in to comment.