Saving items from Scrapyd to Amazon S3 using Feed Exporter

后端 未结 2 1588
醉梦人生
醉梦人生 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:37

    I also faced the same problem. Removing the items_dir= from scrapyd.conf file worked for me.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题