uorss.sh: keys filter sorts input, switched to keys_unsorted

This commit is contained in:
Jon 2022-07-29 00:12:42 +01:00
parent 024a5c2de5
commit 231751c2fb

View File

@ -319,7 +319,7 @@ ingestArtist () {
return 1
fi
artwork_keys="$(jq ".body.illusts | keys | reverse | .[0:$DEPTH]" -c <<< "$artist_json")"
artwork_keys="$(jq ".body.illusts | keys_unsorted | .[0:$DEPTH]" -c <<< "$artist_json")"
echo '' > "$feed_file~"
for artwork_index in $(arrayIndexList "$artwork_keys"); do