tkit_scrapy_mongo
use mongodb instead of redis and rewrite scrapy_redis py3 module
# 这里覆盖默认的settings配置,custom_settings settings.py
custom_settings = dict(
#MONGODB_URI="mongodb://192.168.1.18:27017/",
#REDIS_URL = 'redis://192.168.1.18:6379', # 指定redis的地址
#POOL_PROXY = "http://192.168.1.18:5010"
CONCURRENT_REQUESTS_PER_IP = 4,
CONCURRENT_REQUESTS_PER_DOMAIN = 4,
DUPEFILTER_CLASS = 'pet.tkit_scrapy_mongo.dupefilter.RFPDupeFilter',
# 去重复
SPIDER_MIDDLEWARES={
# "scrapy_splash.SplashDeduplicateArgsMiddleware": 100,
"pet.tkit_scrapy_mongo.dupefilter.RFPDupeFilter":101
}
)
Metadata
Release files for tkit-scrapy-mongo 0.0.0.116654862
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tkit_scrapy_mongo-0.0.0.116654862.tar.gz | 23.1 kB | Without provenance | Details for tkit_scrapy_mongo-0.0.0.116654862.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tkit_scrapy_mongo-0.0.0.116654862-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for tkit_scrapy_mongo-0.0.0.116654862-py2.py3-none-any.whl |
Total release size: 48.4 kB
Release files / tkit_scrapy_mongo-0.0.0.116654862.tar.gz
| Download URL | tkit_scrapy_mongo-0.0.0.116654862.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4ba3e9b797c5259af1d363ac863bc7d9f9d8f5497f3cba0ace1a708ac1c268f
|
|
BLAKE2b-256 checksum How to use checksums |
fd838813087686c6ac0bcf5993fe502bae8430987b0b436159218ed210775d87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
|
Release files / tkit_scrapy_mongo-0.0.0.116654862-py2.py3-none-any.whl
| Download URL | tkit_scrapy_mongo-0.0.0.116654862-py2.py3-none-any.whl |
|---|---|
| Size | 25.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
398ab1cedba514b549b204836e561c9a4c2307bb3822b89b8e177867c27e6a30
|
|
BLAKE2b-256 checksum How to use checksums |
aa58ea51d68ced8f1dec47d689ab7016c315a002382d90ac30081342770ba4a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
|
Security for tkit-scrapy-mongo 0.0.0.116654862
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.