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.3.0.tar.gz (5.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: scrapy_box-1.3.0.tar.gz
  • Upload date:
  • Size: 5.7 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.3.0.tar.gz
Algorithm Hash digest
SHA256 3f66d24104e49dec38848684623b3f819c64710a0f771e5d7d8a97bb26c085af
MD5 9483523d2b54411dd5ce19f67844d616
BLAKE2b-256 8c4ed7192b879cfc9a886f9b3741b94db75917e66ed38a30c7bb3315891c7da8

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