Python based photobucket downloader
This is just a script I made in python that will download every image in a public photobucket gallery.
from sgmllib import SGMLParser
import urllib, re, os
dirs = []
pages = []
check = True
total = 0
count = 0
length = 40
def mkdir():
global DLlocation
DLlocation = raw_input('Enter download folder:\n')
if DLlocation:
root, tail = os.path.splitdrive(DLlocation)
os.chdir(root+os.sep)
usage:
just need to enter a directory for the images and a link to a photobucket gallery.
from sgmllib import SGMLParser
import urllib, re, os
dirs = []
pages = []
check = True
total = 0
count = 0
length = 40
def mkdir():
global DLlocation
DLlocation = raw_input('Enter download folder:\n')
if DLlocation:
root, tail = os.path.splitdrive(DLlocation)
os.chdir(root+os.sep)
usage:
just need to enter a directory for the images and a link to a photobucket gallery.
Comments
Post a Comment