Hacker News new | ask | show | jobs
by wuster 633 days ago
curl https://storage.googleapis.com/panels-api/data/20240916/medi... | jq -r '.data[].dhd' | grep imgix.net | while read -r line; do out=$(echo $line | sed 's/?.*//g' | sed 's/[^.a-zA-Z0-9]/_/g'); curl -s -o $out $line; done
2 comments

I was hoping someone would reply with a bash one-liner so I didn't get nerd sniped into doing it myself, thank you
not working for me:(