A web spider for collecting specific data across a set of configured sites
Project description
Parker is a Python-based web spider for collecting specific data across a set of configured sites.
Non-Python requirements:
Redis - for task queuing and visit tracking
libxml - for HTML parsing of pages
Installation
Install using pip:
$ pip install parker
Configuration
To configure Parker, you will need to install the configuration files in a suitable location for the user running Parker. To do this, use the parker-config script. For example:
$ parker-config ~/.parker
This will install the configuration in your homedir and will output the related environment variable for you to set in your .bashrc.
Changes
0.7.0
Rework the client to allow for improved proxy failover should we need it. Improve testing a little to back this up.
Add tagging to the configuration. These are simply passed through to the resulting JSON objects output by the model so that you can tag them with whatever you want.
Add classification to the configuration. Again this is passed through, but is also used in the output file path from the consumer worker.
0.6.0
Add tracking of visited URIs as well as page hashes to the crawl worker. Use that to reduce the number of URIs added to the crawl queue.
0.5.1
Fix an issue with the order of key-value reference resolution that prevented the effective use of unique_field if using a field that was a kv_ref.
Add some Parker specific configuration so we can specify where to download, in case the PROJECT env variable doesn’t exist.
0.5.0
Update ConsumeModel to post process the data. This enables us to populate specific data from a reference to a key-value field.
Reorder changes so newest first, and rename to “Changes” in the long description.
0.4.2
Bug fix to fix RST headers which may be the problem.
Remove the decode/encode which is not the issue.
0.4.1
Bug fix to see if RST in ASCII fixes issues on PyPI.
0.4.0
Added handling for a PARKER_CONFIG environment variable, allowing users to specify where configuration files are loaded from.
Added the parker-config script to install default configuration files to a passed location. Also prints out an example PARKER_CONFIG environment variable to add to your profile files.
Updated documentation to use proper reStructuredText files.
Add a CHANGES file to track updates.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Parker-0.7.0.tar.gz
.
File metadata
- Download URL: Parker-0.7.0.tar.gz
- Upload date:
- Size: 139.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8ea5e184af130539884b837b0434561a227cb3eb70f76ac9bfde94776ba96c7 |
|
MD5 | 576d334faeb4e7ed19adea4a7aa44e59 |
|
BLAKE2b-256 | dc602096a8084e4f7aaa0ce0b9ac5befe7f2a4b6c987ec196af5dcac021aaaf0 |
File details
Details for the file Parker-0.7.0-py2.py3-none-any.whl
.
File metadata
- Download URL: Parker-0.7.0-py2.py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d58dd0e3734c6ee0e2f3a2a510cb1e9492696a7a2b5411e6d9eec4fdf1133ac2 |
|
MD5 | 89bfb8e80f8e5e3a74daec815926003a |
|
BLAKE2b-256 | 8dfd39a90636daee82c74744c0ba4b40f8a64d068d24602fda2d28befbc45115 |