Fix reverse image search
All checks were successful
Alpine 3.19 Success
Arch Linux Success
Arch Linux AUR Success
Debian Bookworm Success
Fedora 39 Success
OpenBSD 7.3 Success
openSUSE 15.5 Success

It was only a matter of time before this would fail,
although I did not expect this to happen so soon.
This commit is contained in:
Přemysl Eric Janouch 2024-04-22 07:37:58 +02:00
parent 3c8ddcaf26
commit b34fe63198
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -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')"