Skip to main content

Scrapy extension to sync `.scrapy` folder to an S3 bucket

Project description

Scrapy extension to sync .scrapy folder to an S3 bucket.

Installation

You can install scrapy-dotpersistence using pip:

pip install scrapy-dotpersistence

You can then enable the extension in your settings.py:

EXTENSIONS = {
    ...
    'scrapy_dotpersistence.DotScrapyPersistence': 0
}

How to use it

Enable extension through settings.py:

DOTSCRAPY_ENABLED = True

Configure the exension through settings.py:

ADDONS_AWS_ACCESS_KEY_ID = "ABC"
ADDONS_AWS_SECRET_ACCESS_KEY = "DEF"
ADDONS_AWS_USERNAME = "username"
ADDONS_S3_BUCKET = "test-bucket-name"

You can change a dotpersistence folder path with environ:

export DOTSCRAPY_DIR='/tmp/.scrapy'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scrapy-dotpersistence-0.2.3.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scrapy_dotpersistence-0.2.3-py2-none-any.whl (4.2 kB view details)

Uploaded Python 2

File details

Details for the file scrapy-dotpersistence-0.2.3.tar.gz.

File metadata

File hashes

Hashes for scrapy-dotpersistence-0.2.3.tar.gz
Algorithm Hash digest
SHA256 0be42e6944bd6409ee58ebf968021bce00280b5faecb6f9dba8ba284ce0c8099
MD5 a0531b5c2ec70139a7d36d8e53f4013b
BLAKE2b-256 b6df0436397aed465ce82a5993b50b8cfe88f00013a78148d4bce93191abf586

See more details on using hashes here.

File details

Details for the file scrapy_dotpersistence-0.2.3-py2-none-any.whl.

File metadata

File hashes

Hashes for scrapy_dotpersistence-0.2.3-py2-none-any.whl
Algorithm Hash digest
SHA256 3d80ec1b10ae1f7e8fc7904b2f038469f00e2d85a90e52066bed4f9484167c43
MD5 6933af19e1eccef1c86faec7f762c0f5
BLAKE2b-256 a79ce43068c21434b463f0bbc86353df963918a86168230754c2a771b7bfcc12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page