Advertisement
metalx1000

Get Album from PhotoBucket with user input

Mar 13th, 2012
471
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. echo "Please Enter Album Link:"
  4. read album
  5.  
  6. wget -q "$album/?start=all" -O-| \
  7. grep "action=view"|grep "^<a href"|cut -d\" -f2| \
  8. sed 's/?action=view\&current=//g'|while read line
  9. do
  10.     wget -c "$line"
  11. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement