update jq command 5th time

This commit is contained in:
Osman Faruk Bayram 2025-05-16 21:12:42 +03:00
parent ea89dd98f9
commit 138bc8ef6c

View file

@ -24,7 +24,8 @@ fetch_and_merge() {
-o "$resp_file"
echo -e "\n--- Page $((counter + 1)) (First 20 lines) ---"
head -n 20 <(jq . "$resp_file")
# head -n 20 <(jq . "$resp_file")
jq . "$resp_file" 2>/dev/null | head -n 20
next_url=$(jq -r '.pages.next_url // empty' "$resp_file")
((counter++))