Docs: replace deprecated FEED_* settings

This commit is contained in:
Eugenio Lacuesta 2020-04-17 20:50:17 -03:00
parent 209ab05315
commit 04b6295a69
No known key found for this signature in database
GPG Key ID: DA3EF2D0913E9810
1 changed files with 3 additions and 2 deletions

View File

@ -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)