Actually title should be "How to scrape an ImageBam gallery for images with 56 lines of Python". This implementation obviously not the best since there is no off-site control and making requests sequentially. I can recommend scrapy for serious web crawling. http://www.scrapy.org