September 2018
Intermediate to advanced
426 pages
10h 46m
English
This chapter will introduces you to the HTTP protocol and covers how we can retrieve and manipulate web content using Python. We will also review the urllib standard library and requests package. urllib2 is a Python module for fetching URLs. It offers a very simple interface, in the form of the urlopen function. The request package is a very useful tool if we want to make requests to API endpoints to streamline HTTP workflows.
The following topics will be covered in this chapter: