Skip to content

scrapy-plugins/scrapy-feedexporter-sftp

Repository files navigation

scrapy-feedexporter-sftp

PyPI Version License

scrapy-feedexporter-sftp is a Scrapy Feed Exporter Storage Backend that allows you to export Scrapy items to an SFTP server.

Using scrapy-feedexporter-sftp

Add a FEED_STORAGES to your Scrapy settings:

FEED_STORAGES = {"sftp": "scrapy_feedexporter_sftp.SFTPFeedStorage"}

Define your FEED_URI in Scrapy settings:

FEED_URI = "sftp://user:password@some.server/some/path/to/a/file"

To use a private key for authentication, use the FEED_STORAGE_SFTP_PKEY setting:

FEED_STORAGE_SFTP_PKEY = """
-----BEGIN RSA PRIVATE KEY-----
...
... base64 encoded ...
...
-----END RSA PRIVATE KEY-----
"""

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages