Fix archive.org URIs to be without header, allowing better reading. - annna - A… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit b1221841608879e403d31046cc5361ba19fc55dd | |
parent 76753364283874d30b6226fd091c34c26861d918 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Mon, 13 Jan 2025 13:44:49 +0100 | |
Fix archive.org URIs to be without header, allowing better reading. | |
Thanks seninha! | |
Without the header it is easier to read the web content in terminal. | |
Diffstat: | |
M archiveorg-uri | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/archiveorg-uri b/archiveorg-uri | |
@@ -26,7 +26,7 @@ apiai="$(fetch-uri "$aiapiuri")" | |
available="$(echo "$apiai" | grep 'available')" | |
if [ -n "${available}" ]; | |
then | |
- aiuri="$(echo "$apiai" | awk -F 'url": "' '{print $3}' 2>/dev/null | a… | |
+ aiuri="$(echo "$apiai" | awk -F 'url": "' '{print $3}' 2>/dev/null | a… | |
printf "%s\n" "${aiuri}" | |
fi | |