diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-04-22 07:37:58 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-04-22 07:38:49 +0200 |
commit | b34fe631987b90cf6646271c874f8fa61ed81fbf (patch) | |
tree | 6d3a4c37b0475e0721edf50f6b04e0e438fd9002 /fiv-reverse-search | |
parent | 3c8ddcaf264a08102b27ae96a8a8340cb0abc997 (diff) | |
download | fiv-b34fe631987b90cf6646271c874f8fa61ed81fbf.tar.gz fiv-b34fe631987b90cf6646271c874f8fa61ed81fbf.tar.xz fiv-b34fe631987b90cf6646271c874f8fa61ed81fbf.zip |
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.
Diffstat (limited to 'fiv-reverse-search')
-rwxr-xr-x | fiv-reverse-search | 4 |
1 files 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')" |