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.8
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.8.tar.gz | 93.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bhfutils-0.2.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 220.4 kB
Release files / bhfutils-0.2.8.tar.gz
| Download URL | bhfutils-0.2.8.tar.gz |
|---|---|
| Size | 93.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ed663f91aa26744476256d3a3b63a0819b7ec385ae3da38117eaf223104c360
|
|
BLAKE2b-256 checksum How to use checksums |
c90c00627f906aeafd5969dbfc3bbb3af6d737f0c3150373d43e5ec381a122de
|
| 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.8-py3-none-any.whl
| Download URL | bhfutils-0.2.8-py3-none-any.whl |
|---|---|
| Size | 127.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91e8926a0d134d74ec7e1fc5ec8184d487c22b898a744f23dfdead2a0fe63acb
|
|
BLAKE2b-256 checksum How to use checksums |
f8ecaea44e7ecb909333dd8a7d2854d26037eaec26737946593293354e613d31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|