Created
July 7, 2014 17:44
-
-
Save jadedgnome/db2266806449e0a3eca4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# USAGE: ./gifboom-dl.sh <URL> | |
URL=$1 | |
curl -s $URL |grep -o 'data-video-url=['"'"'"][^"'"'"']*['"'"'"]' | sed -e 's/data-video-url=["'"'"']//' -e 's/["'"'"']$//' |cut -d '"' -f 2 | xargs wget |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment