Behoof Scrapy Cluster Template
Overview
The bhfutils package is a collection of utilities that are used by any spider of Behoof project.
Requirements
Unix based machine (Linux or OS X)
Python 2.7 or 3.6
Installation
Inside a virtualenv, run pip install -U bhfutils. This will install the latest version of the Behoof Scrapy Cluster Spider utilities. After that you can use special settings.py compatibal with scrapy cluster (template placed in crawler/setting_template.py)
Documentation
Full documentation for the bhfutils package does not exist
distributed_scheduler.py
The distributed_scheduler module is scrapy request scheduler that utilizes Redis Throttled Priority Queues to moderate different domain scrape requests within a distributed scrapy cluster
redis_domain_max_page_filter.py
The redis_domain_max_page_filter module is redis-based max page filter. This filter is applied per domain. Using this filter the maximum number of pages crawled for a particular domain is bounded
redis_dupefilter.py
The redis_dupefilter module is redis-based request duplication filter
redis_global_page_per_domain_filter.py
The redis_global_page_per_domain_filter module is redis-based request number filter When this filter is enabled, all crawl jobs have GLOBAL_PAGE_PER_DOMAIN_LIMIT as a hard limit of the max pages they are allowed to crawl for each individual spiderid+domain+crawlid combination.
Metadata
Release files for bhfutils 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bhfutils-0.2.7.tar.gz | 92.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bhfutils-0.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 219.2 kB
Release files / bhfutils-0.2.7.tar.gz
| Download URL | bhfutils-0.2.7.tar.gz |
|---|---|
| Size | 92.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf0bb80788277346ba7ee8bec8f1c2852b29191ca87659b44e22c6a78e500a74
|
|
BLAKE2b-256 checksum How to use checksums |
28d47c974c1bccd01cae8374db53429d25c5b9a0e8c1f56826bdc3ddcc461014
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / bhfutils-0.2.7-py3-none-any.whl
| Download URL | bhfutils-0.2.7-py3-none-any.whl |
|---|---|
| Size | 126.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f332a361737ac0626b93f502971e8e00b79c111a53f1cdd0f6975084c530538c
|
|
BLAKE2b-256 checksum How to use checksums |
06ccf3d65fe94060748b9529e5c2fc90771866a4abc62cb4f9e117701b94dd8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|