...the current is too high!
I'm in that sort of mood again, possibly because I just spent about 5 hours coding. The first 3 and a half were trying to rewrite a gallery admin interface, which helpfully had every variable hard-coded in (sounds like the kind of stupidity only I'm allowed), but the past one and a half (ok, maybe a little less) making a Photobucket downloader script. All your image are belong to us!
I was genuinely surprised that no-one had made (at least not on the first 3 pages of google) one of these, so here is my second invaluable contribution to open-source:
#!/bin/bash
linklist=`echo
http://s37.photobucket.com/albums/e98/${1}/ | xargs curl -s | grep -o \ | grep -v \?action | grep -o f=\".*\" | cut -f2 -d\"
for category in $linklist
do
mkdir ./${category}
echo "
http://s37.photobucket.com/albums/e98/${1}/${category}/"
imagelist=`echo
http://s37.photobucket.com/albums/e98/${1}/${category}/ | xargs curl -s | grep -o \

for image in $imagelist
do
wget "
http://s37.photobucket.com/albums/e98/${1}/${category}/${image}" --directory-prefix=${category}
done
done
So there you have it. What it currently does is, on linux (or
cygwin, if you swing that way), is make new directories for each folder in someone's Photobucket (as specified on the command-line) and then pillage currently only the first page of each folder for the images. It looks simple, but it really isn't. Ok, so maybe it is and I wasted hours because I'm incompetent.
Moral of the story? MEGA PHOTO STEAL IS BEGIN!