Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
downloader
#!/bin/bash
# makeagif.com dl
# USAGE: ./makegif-dl.sh <URL>
URL=$1
curl -s $URL |grep -o '<img src=['"'"'"][^"'"'"']*['"'"'"]' | sed -e 's/<img src=["'"'"']//' -e 's/["'"'"']$//' |grep .cdn | xargs curl --retry 3 -O -J
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.