Saving items from Scrapyd to Amazon S3 using Feed Exporter

后端 未结 2 1624
醉梦人生
醉梦人生 2021-01-13 05:42

Using Scrapy with amazon S3 is fairly simple, you set:

  • FEED_URI = \'s3://MYBUCKET/feeds/%(name)s/%(time)s.jl\'
  • FEED_FORMAT = \'jsonlines\'
  • A
2条回答
  •  盖世英雄少女心
    2021-01-13 06:39

    You can set the items_dir property to an empty value like this:

    [scrapyd]
    items_dir=
    

    It seems that when that property is set, takes precedence over the configured exported. See http://scrapyd.readthedocs.org/en/latest/config.html for more information.

提交回复
热议问题