Skip to main content

简单易用的scrapy插件盒

Project description

简单好用的scrapy插件盒

download middlewares

  • 代理下载中间件

    # 代理url
    PROXY_ADDR = 'your proxy API'
  • 错误重定向重试的下载中间件

    # 需要对重定向的url,使用原url进行重试的url片段
    ERROR_REDIRECT_URL_SNIPPET = ['redirect', 'retry']
    # 注意,数字必须大于600
    DOWNLOADER_MIDDLEWARES = {
       'scrapy_box.ErrorRedirectMiddleware': 601,
    }

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_box-1.1.0.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file scrapy_box-1.1.0.tar.gz.

File metadata

  • Download URL: scrapy_box-1.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.4

File hashes

Hashes for scrapy_box-1.1.0.tar.gz
Algorithm Hash digest
SHA256 fb8270eb2f8e6b342b9a6a89279cabd6889ac8731e61dcdca9678dc13b32168a
MD5 f121cb249e0a370f57790f4fee291ff8
BLAKE2b-256 6d0e880ed379f27950e478bff4b11e0bc51450734f5ba7626c9916f5611526e7

See more details on using hashes here.

Supported by

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