Assert.Equal("http://img.example.com/abcd.png", tweetThumbnail.CurrentThumbnail.ThumbnailImageUrl);
Assert.Equal(
- new(@"https://www.google.com/searchbyimage?image_url=http%3A%2F%2Fimg.example.com%2Fabcd.png"),
+ new(@"https://lens.google.com/uploadbyurl?url=http%3A%2F%2Fimg.example.com%2Fabcd.png"),
tweetThumbnail.GetImageSearchUriGoogle()
);
}
==== Unreleased
* NEW: graphqlエンドポイントを使用しているタブでの「前データを取得」に対応
+ * CHG: Google画像検索のURLの変更に対応
==== Ver 3.6.2(2023/07/07)
* FIX: リプライ制限されたツイートのRTがリストのタイムラインに含まれているとエラーになる不具合を修正
public Uri GetImageSearchUriGoogle()
{
var imageUrl = this.GetUrlForImageSearch();
- return new(@"https://www.google.com/searchbyimage?image_url=" + Uri.EscapeDataString(imageUrl));
+ return new(@"https://lens.google.com/uploadbyurl?url=" + Uri.EscapeDataString(imageUrl));
}
public Uri GetImageSearchUriSauceNao()