February 2019
Intermediate to advanced
672 pages
16h 50m
English
The requests module allows its users to make and send HTTP request methods. In the applications that we will be considering, it is mainly used to make contact with the server of the web pages we want to extract data from and obtain the response for the server.
To install the module on your computer, run the following:
pip install requests
You should use this code if you are using pip as your package manager. If, however, you are using Anaconda instead, simply use the following:
conda install requests
These commands should install requests and any other required dependencies (idna, certifi, urllib3 ...