Skip to main content

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)

Source distribution for tkit-scrapy-mongo 0.0.0.116654862
File Size Uploaded
tkit_scrapy_mongo-0.0.0.116654862.tar.gz 23.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tkit-scrapy-mongo 0.0.0.116654862
File Interpreter ABI Platform
tkit_scrapy_mongo-0.0.0.116654862-py2.py3-none-any.whl Python 2, Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.0.116654862 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page