Fix typoe in apiai. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit ea340cf65666682f3ad12de6d4c483816349e685 | |
parent 9c3d93e2271e8d2f98834aace8ab44a147ed28cb | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sun, 12 Jan 2025 19:39:56 +0100 | |
Fix typoe in apiai. | |
Thanks eidolon! | |
Diffstat: | |
M fetch-uri | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/fetch-uri b/fetch-uri | |
@@ -38,10 +38,10 @@ if [ $? -eq 22 ]; | |
then | |
aiapiuri="http://archive.org/wayback/available?url=${uri}" | |
apiai="$(curl -qgsm 5 --fail -L --max-redirs 3 -A "$ua" $opth ${usetor… | |
- notavailable="$(echo "$apiia" | grep -c -e '"archived_snapshots": {}')" | |
+ notavailable="$(echo "$apiai" | grep -c -e '"archived_snapshots": {}')" | |
if [ -z "${notavailable}" ]; | |
then | |
- aiuri="$(echo "$apiia" | awk -F 'url": "' '{print $3}' 2>/dev/… | |
+ aiuri="$(echo "$apiai" | awk -F 'url": "' '{print $3}' 2>/dev/… | |
curl -qgsm 5 --fail -L --max-redirs 3 -A "$ua" $opth ${usetor:… | |
fi | |
fi |