Add other search engine for image-search and simulate-simulator. - annna - Annna the nice friendly bot.
HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit 5a1bff646a36df1a164f54300d1369e1c6bed29a
DIR parent dd54c132958b2e6528fcd959b8035fe8720152ee
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sat, 29 Jun 2024 16:18:36 +0200
Add other search engine for image-search and simulate-simulator.
Diffstat:
M image-search | 3 ++-
M simulate-simulator | 5 +++++
2 files changed, 7 insertions(+), 1 deletion(-)
---
DIR diff --git a/image-search b/image-search
@@ -1,5 +1,6 @@
#!/bin/sh
-searxbase="https://search.stinpriza.org"
+
+searxbase="https://baresearch.org"
maxtries=10
die() {
DIR diff --git a/simulate-simulator b/simulate-simulator
@@ -14,6 +14,11 @@ do
then
die "could not find a image for '$q'"
fi
+ if [ -z "${img}" ];
+ then
+ die "could not find a image for '$q'"
+ fi
+
out="${img%.*}-simulator.jpg"
convert -gravity NorthWest \
-font "Helvetica-Narrow-Oblique" -pointsize 70 \