Created
January 20, 2014 02:49
-
-
Save ohhdemgirls/8514099 to your computer and use it in GitHub Desktop.
Simple Vidble.com Album Downloader
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 | |
id="$1" | |
host="http://vidble.com/album/" | |
mkdir "$id" | |
wget -nv -O - "$host$id" |grep -e "<img src='" |grep -Eo '/[^" ]+(jpg|jpeg|JPG|GIF|gif|PNG|png)' |sed -e 's/_med//' -e 's@^@http://vidble.com@' > $id/links.txt | |
sed -i '/logo/d' $id/links.txt | |
wget -i $id/links.txt -P $id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage: $ ./vidble.sh album_id
url: vidble.com/album/vr0N9PTp
id: vr0N9PTp