Merge pull request #4507 from elacuesta/docs-update-deprecated-feed-settings

Docs: replace deprecated FEED_FORMAT and FEED_URI settings
This commit is contained in:
Mikhail Korobov 2020-04-18 20:19:01 +05:00 committed by GitHub
commit 66ab3347c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)