Python Web Scraping Cookbook
上QQ阅读APP看书,第一时间看更新

Getting ready

There is a class named URLUtility in the urls.py mdoule in the util folder of the solution.  This class handles several of the scenarios in this chapter with downloading and parsing URLs. We will be using this class in this recipe and a few others. Make sure the modules folder is in your Python path.  Also, the example for this recipe is in the 04/01_download_image.py file.