Asynchronous mysql Scrapy item pipeline
Project description
Python 3.6
scrapy-mysql-pipeline
Asynchronous mysql Scrapy item pipeline
Installation
pip install scrapy-mysql-pipeline
Configuration
Add pipeline
ITEM_PIPELINES = {
'scrapy_mysql_pipeline.MySQLPipeline': 300,
}
Default values:
MYSQL_HOST = 'localhost'
MYSQL_PORT = 3306
MYSQL_USER = None
MYSQL_PASSWORD = ''
MYSQL_DB = None
MYSQL_TABLE = None
MYSQL_UPSERT = False
MYSQL_RETRIES = 3
MYSQL_CLOSE_ON_ERROR = True
MYSQL_CHARSET = 'utf8'
MYSQL_USER, MYSQL_PASSWORD, MYSQL_DB and MYSQL_TABLE, variables must be set in settings.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for scrapy-mysql-pipeline-2019.7.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc8a183727f2a79e3391461cec5970af62f4dbf44dd22d214860404f35853a4b |
|
MD5 | 0a894b6b0fc757103c30be390c05c132 |
|
BLAKE2b-256 | 8cd0db760eaca71d6e9bb6e1859ce83402fe0f1b57ba6b00ffdb65e54b68df15 |