Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 702 Bytes

requests.md

File metadata and controls

18 lines (11 loc) · 702 Bytes

requests

The requests module or requests library allows users to make requests to web pages. It is a useful tool for web scraping, and though it's relatively easy to get started, the learning curve can be steep.

To use requests, import the module into your script, then set up a response object. In the parenthesis, include the URL of the webpage you want to scrape, enclosed by single quotes.

import requests
x = requests.get('<websiteURL>')

Readings

Tutorials