From df170ed362df9a23e771d890c54fbe6a68df00dd Mon Sep 17 00:00:00 2001 From: Up Date: Wed, 13 Mar 2024 19:53:51 +0800 Subject: [PATCH] Update gacha url prefix --- Xunkong.Hoyolab/Wishlog/WishlogClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Xunkong.Hoyolab/Wishlog/WishlogClient.cs b/Xunkong.Hoyolab/Wishlog/WishlogClient.cs index a06105d..d5ac2d4 100644 --- a/Xunkong.Hoyolab/Wishlog/WishlogClient.cs +++ b/Xunkong.Hoyolab/Wishlog/WishlogClient.cs @@ -91,7 +91,7 @@ public static async Task GetWishlogUrlFromLogFileAsync(bool isSea = fals var result = matcher.Execute(new DirectoryInfoWrapper(new FileInfo(exePath).Directory!)); var files = result.Files.Select(x => Path.Combine(Path.GetDirectoryName(exePath)!, x.Path)); file = files.OrderByDescending(x => new FileInfo(x).LastWriteTime).FirstOrDefault(); - match = "https://webstatic.mihoyo.com/hk4e/event/e20190909gacha-v2/index.html"u8; + match = "https://webstatic.mihoyo.com/hk4e/event/e20190909gacha-v3/index.html"u8; } if (exePath.EndsWith("GenshinImpact.exe")) { @@ -101,7 +101,7 @@ public static async Task GetWishlogUrlFromLogFileAsync(bool isSea = fals var result = matcher.Execute(new DirectoryInfoWrapper(new FileInfo(exePath).Directory!)); var files = result.Files.Select(x => Path.Combine(Path.GetDirectoryName(exePath)!, x.Path)); file = files.OrderByDescending(x => new FileInfo(x).LastWriteTime).FirstOrDefault(); - match = "https://webstatic-sea.hoyoverse.com/genshin/event/e20190909gacha-v2/index.html"u8; + match = "https://gs.hoyoverse.com/genshin/event/e20190909gacha-v3/index.html"u8; } if (File.Exists(file)) {