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
Built Distribution
Close
Hashes for scrapy-dotpersistence-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0be42e6944bd6409ee58ebf968021bce00280b5faecb6f9dba8ba284ce0c8099 |
|
MD5 | a0531b5c2ec70139a7d36d8e53f4013b |
|
BLAKE2b-256 | b6df0436397aed465ce82a5993b50b8cfe88f00013a78148d4bce93191abf586 |
Close
Hashes for scrapy_dotpersistence-0.2.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d80ec1b10ae1f7e8fc7904b2f038469f00e2d85a90e52066bed4f9484167c43 |
|
MD5 | 6933af19e1eccef1c86faec7f762c0f5 |
|
BLAKE2b-256 | a79ce43068c21434b463f0bbc86353df963918a86168230754c2a771b7bfcc12 |