Skip to content

Instantly share code, notes, and snippets.

@ohhdemgirls
Created January 20, 2014 02:49
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohhdemgirls/8514099 to your computer and use it in GitHub Desktop.
Save ohhdemgirls/8514099 to your computer and use it in GitHub Desktop.
Simple Vidble.com Album Downloader
#!/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
@ohhdemgirls
Copy link
Author

Usage: $ ./vidble.sh album_id

url: vidble.com/album/vr0N9PTp
id: vr0N9PTp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment