From 30f72f36d20e9757eddcd71301403920779f31d6 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sat, 22 Jun 2024 13:49:00 +0200 Subject: checkpoint --- bin/extra/myalscore.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/extra/myalscore.sh') diff --git a/bin/extra/myalscore.sh b/bin/extra/myalscore.sh index ef68bcc..e2b4e25 100755 --- a/bin/extra/myalscore.sh +++ b/bin/extra/myalscore.sh @@ -4,4 +4,5 @@ query="$(printf '%s' "$*" | sed 's/\s/%20/g')" curl -s "https://myanimelist.net/search/prefix.json?type=all&keyword=$query&v=1" \ -H 'Accept: application/json, text/javascript, */*; q=0.01' | - jq -r '.categories[].items[] | [.payload.score, .name] | join(" ")' + jq -r '.categories[].items[] | "\(.payload.score)@\(.name)@\(.url)"' | + column -t -l 3 -s '@' -- cgit v1.2.3