Python Scrapy: Extracting Data

Selectors CSS and XPath are used for extracting data in Scrapy. To learn how to extract data with Scrapy, experiment with these selectors using the Scrapy shell:
scrapy shell "https://quotes.toscrape.com/page/1/"

This is an interactive shell where you can try and debug your scraping code without having to run the spider.
Note: Enter quit() to exit the scrapy shell.


Previous     Next

Use the Search Bar to find content on MarketingMind.