Vidyalelo
Python · Q3

Web Scraping with Python

Programming · Python · question 3

Q3

What is the purpose of the requests library in web scraping?

A.
To render web pages in a browser
B.
To handle HTTP requests and responses
Answer
C.
To create visualizations of scraped data
D.
To automate form submissions

Answer: Option B

Solution

Answer: Option B
Solution:
The requests library is used to handle HTTP requests and responses in web scraping.