Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Docs: replace deprecated FEED_* settings

Eugenio Lacuesta04b6295a6917
diff --git a/docs/topics/practices.rst b/docs/topics/practices.rst
index e3e8fdc72..cf1de1bd1 100644
--- a/docs/topics/practices.rst
+++ b/docs/topics/practices.rst
@@ -35,8 +35,9 @@ Here's an example showing how to run a single spider with it.
...
process = CrawlerProcess(settings={
- 'FEED_FORMAT': 'json',
- 'FEED_URI': 'items.json'
+ "FEEDS": {
+ "items.json": {"format": "json"},
+ },
})
process.crawl(MySpider)