Get apple logos from https://www.apple.com/apple-events/ (Apple Special Event October 30, 2018)
#!/bin/sh | |
urls=$(curl -s https://www.apple.com/v/apple-events/home/a/built/styles/overview.built.css | grep -Eo 'background[^)]+)' | grep hero_image_ | grep large_2x | grep -v past | sed -E 's/^.+"([^"]+)".+$/\1/' | sort | uniq) | |
for url in $urls | |
do | |
curl -O https://www.apple.com/$url | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment