From b34fe631987b90cf6646271c874f8fa61ed81fbf Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Mon, 22 Apr 2024 07:37:58 +0200 Subject: Fix reverse image search It was only a matter of time before this would fail, although I did not expect this to happen so soon. --- fiv-reverse-search | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fiv-reverse-search b/fiv-reverse-search index 5210703..dc12790 100755 --- a/fiv-reverse-search +++ b/fiv-reverse-search @@ -5,5 +5,5 @@ if [ "$#" -ne 2 ]; then fi xdg-open "$1$(fiv --thumbnail-for-search large "$2" \ - | curl --silent --show-error --upload-file - https://transfer.sh/image \ - | jq --slurp --raw-input --raw-output @uri)" + | curl --silent --show-error --form 'files[]=@-' https://uguu.se/upload \ + | jq --raw-output '.files[] | .url | @uri')" -- cgit v1.2.3-70-g09d2