Vidyalelo
Python · Q4

Web Scraping with Python

Programming · Python · question 4

Q4

What is the role of a user agent in web scraping?

A.
A way to hide scraping activities
B.
A legal document for scraping
C.
A unique identifier for web browsers
Answer
D.
A strategy for rendering JavaScript

Answer: Option C

Solution

Answer: Option C
Solution:
A user agent is a string that identifies the web browser or scraper being used.