예제 #1
0
def batch_downloader(file):
    """
    Takes a text file and scrapes the image URLs
    """
    images = ImagesDownload(fileName = file)
    dirName, imageBookPath = images.filePath()
    imageBookData = images.readFile(imageBookPath)
    images.downloadImages(dirName, imageBookData)
예제 #2
0
def batch_downloader(file):
    """
    Takes a text file and scrapes the image URLs
    """
    images = ImagesDownload(fileName=file)
    dirName, imageBookPath = images.filePath()
    imageBookData = images.readFile(imageBookPath)
    images.downloadImages(dirName, imageBookData)