Advertisement
metalx1000

Downloading Imgur Gallery - WGET - BASH

Dec 1st, 2011
1,468
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.18 KB | None | 0 0
  1. #!/bin/bash
  2. wget -q "http://imgur.com/gallery" -O -|grep 'post"'|cut -d\" -f2|while read id
  3. do
  4.     echo "Downloading $id.jpg"
  5.     wget -q -c "http://i.imgur.com/$id.jpg"
  6. done
  7.  
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement