def auto_list_download(self, url, next=False, sleeptime=20, pdfConversion=True):
    self.json_download(url)
    self.file = 0
    if (os.path.isdir(self.list['readableProduct']['title']) != True):
        os.mkdir(self.list['readableProduct']['title'])
    for page in self.list['readableProduct']['pageStructure']['pages']:
        time.sleep(sleeptime)
        if (page['type'] == 'main'):
            self.h = page['height']
            self.w = page['width']
            self.download(page['src'], False)
            self.processing()
            self.output((('./' + self.list['readableProduct']['title']) + '/'))
    if pdfConversion:
        self.convertToPdf()
    if ((self.list['readableProduct']['nextReadableProductUri'] != None) and (next == True)):
        self.auto_list_download(self.list['readableProduct']['nextReadableProductUri'], True)
def auto_list_download(self, url, next=False, sleeptime=20, pdfConversion=True):
    self.json_download(url)
    self.file = 0
    if (os.path.isdir(self.list['readableProduct']['title']) != True):
        os.mkdir(self.list['readableProduct']['title'])
    for page in self.list['readableProduct']['pageStructure']['pages']:
        time.sleep(sleeptime)
        if (page['type'] == 'main'):
            self.h = page['height']
            self.w = page['width']
            self.download(page['src'], False)
            self.processing()
            self.output((('./' + self.list['readableProduct']['title']) + '/'))
    if pdfConversion:
        self.convertToPdf()
    if ((self.list['readableProduct']['nextReadableProductUri'] != None) and (next == True)):
        self.auto_list_download(self.list['readableProduct']['nextReadableProductUri'], True)