Vidyalelo
Python · Q33

Web Scraping with Python

Programming · Python · question 33

Q33

What is the role of the scrapy.Spider class in the scrapy framework?

A.
Handling HTTP requests
B.
Rendering JavaScript
C.
Defining scraping rules and logic
Answer
D.
Creating web forms

Answer: Option C

Solution

Answer: Option C
Solution:
The scrapy.Spider class is used to define scraping rules and logic in the scrapy framework.