diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-06-22 13:49:00 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-06-22 13:49:00 +0200 |
commit | 30f72f36d20e9757eddcd71301403920779f31d6 (patch) | |
tree | 24179cac49835de6570ea7ec38fb6a9076b4f39e /bin/extra/myalscore.sh | |
parent | 32256e087aaf7744348a5ba33e802d5c8d9d97dd (diff) |
checkpoint
Diffstat (limited to 'bin/extra/myalscore.sh')
-rwxr-xr-x | bin/extra/myalscore.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 '@' |