Getting ready

We again use the URLUtility class.  The code for the recipe is in 04/03_determine_content_type_from_response.py.

Get Python Web Scraping Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.