Fix reverse image search
Alpine 3.19 Success Details
Arch Linux Success Details
Arch Linux AUR Success Details
Debian Bookworm Success Details
Fedora 39 Success Details
OpenBSD 7.3 Success Details
openSUSE 15.5 Success Details

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
1 changed files with 2 additions and 2 deletions

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