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

Uploaded Source

File details

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

File metadata

  • Download URL: scrapy_box-1.2.0.tar.gz
  • Upload date:
  • Size: 4.4 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.2.0.tar.gz
Algorithm Hash digest
SHA256 84d26140a17a48568136b3f25d1040263e6a354fbb47490165673b283d0509fb
MD5 c106f1b9e16583606abeba6e654617cd
BLAKE2b-256 f5e8446367ae477a10eeadc445a0568962bc81f86144d8cc0f84709020dc3f4e

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