diff --git a/Ona-Pix.csproj b/Ona-Pix.csproj index d0c1696..fb25f21 100644 --- a/Ona-Pix.csproj +++ b/Ona-Pix.csproj @@ -8,10 +8,10 @@ Yet Another Pixiv Tool Space Time Space Time - 1.1.6 - 1.1.6 - 1.1.6 - 1.1.6 + 1.1.7 + 1.1.7 + 1.1.7 + 1.1.7 Tool;Pixiv;Ona;Pix Ona-Pix-Logo.ico Ona Pix Logo.png @@ -21,7 +21,7 @@ git Copyright © 2077 WinExe - net5.0-windows10.0.22000.0 + net8.0-windows10.0.22000.0 10.0.17763.0 Ona_Pix enable @@ -69,8 +69,8 @@ - - + + diff --git a/Windows/MainWindow.xaml.cs b/Windows/MainWindow.xaml.cs index 59471e6..fc99c8b 100644 --- a/Windows/MainWindow.xaml.cs +++ b/Windows/MainWindow.xaml.cs @@ -351,14 +351,14 @@ private async Task IsUri() Title = "正在解析链接"; if ((IS_ACTIVE ? ActiveSearchBox : InactiveSearchBox).Text.Contains(@"www.pixiv.net/artworks")) //Pixiv Url - await GetImage((IS_ACTIVE ? ActiveSearchBox : InactiveSearchBox).Text.Replace(@"www.pixiv.net/artworks", @"pixiv.re") + ".png"); + await GetImage((IS_ACTIVE ? ActiveSearchBox : InactiveSearchBox).Text.Replace(@"www.pixiv.net/artworks", @"pixiv.nl") + ".png"); else if ((IS_ACTIVE ? ActiveSearchBox : InactiveSearchBox).Text.Contains(@"www.pixiv.net/member_illust.php?") && (IS_ACTIVE ? ActiveSearchBox : InactiveSearchBox).Text.Contains("illust_id")) //Pixiv Illust Url { NameValueCollection paramCollection = GetParamCollection(new Uri((IS_ACTIVE ? ActiveSearchBox : InactiveSearchBox).Text).Query); - await GetImage(@"https://pixiv.re/" + paramCollection["illust_id"]! + ".png"); + await GetImage(@"https://pixiv.nl/" + paramCollection["illust_id"]! + ".png"); } else //其他 Uri (包括 Pximg Url) - await GetImage((IS_ACTIVE ? ActiveSearchBox : InactiveSearchBox).Text.Replace(@"i.pximg.net", Define.BEHAVIOR_PAGE.PixivCatToggle.IS_TOGGLED ? @"i.pixiv.re" : @"pximg.moezx.cc")); + await GetImage((IS_ACTIVE ? ActiveSearchBox : InactiveSearchBox).Text.Replace(@"i.pximg.net", Define.BEHAVIOR_PAGE.PixivCatToggle.IS_TOGGLED ? @"i.pixiv.nl" : @"pximg.moezx.cc")); Title = "链接解析完成"; } @@ -366,7 +366,7 @@ private async Task IsPixivID() { Title = "正在解析 PixivID"; - await GetImage(@"https://pixiv.re/" + (IS_ACTIVE ? ActiveSearchBox : InactiveSearchBox).Text + ".png"); + await GetImage(@"https://pixiv.nl/" + (IS_ACTIVE ? ActiveSearchBox : InactiveSearchBox).Text + ".png"); Title = "PixivID 解析完成"; }