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.
Use the Search Bar to find content on MarketingMind.
Contact | Privacy Statement | Disclaimer: Opinions and views expressed on www.ashokcharan.com are the author’s personal views, and do not represent the official views of the National University of Singapore (NUS) or the NUS Business School | © Copyright 2013-2025 www.ashokcharan.com. All Rights Reserved.