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

Uploaded Source

File details

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

File metadata

  • Download URL: scrapy_box-1.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 c0ceb9500a664cd191130a877b30d0e35ab7bc6ad6a3c109095fa9079afddcaa
MD5 54db52edc551eca2c363c69694962760
BLAKE2b-256 60b5f8a4c95ee6badcab48b8bc9f7e61af35ae8cf1a27189d4d18b179f968f1e

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