mirror of https://github.com/scrapy/scrapy.git
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:
commit
66ab3347c2
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue