class IMDb: def __init__(self, url, Info=False, Details=False, Gallery=False): if Info == True: fromInfo = urllib.urlopen(url).read() self.fromInfo = fix(fromInfo).replace(' / ','').replace(' ',' ').replace('','') if Details == True: self.fromDetails = urllib.urlopen(url + 'plotsummary').read() if Gallery == True: self.fromGallery = urllib.urlopen(url + 'photogallery').read()