Skip to main content

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.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Parker-0.6.0.tar.gz (138.9 kB view details)

Uploaded Source

Built Distribution

Parker-0.6.0-py2.py3-none-any.whl (18.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Parker-0.6.0.tar.gz.

File metadata

  • Download URL: Parker-0.6.0.tar.gz
  • Upload date:
  • Size: 138.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Parker-0.6.0.tar.gz
Algorithm Hash digest
SHA256 182f3b45adb5b8bc5d18c36aefde29e7c2217a1461acec3266f3c6fa563f0fa3
MD5 0dc2e1794affb23fbe10b66bcd5b7b9f
BLAKE2b-256 c48d2f0256d54cfbf46e41b1bdf3e38376d807faf20c6dd962e574e0b4f8b204

See more details on using hashes here.

File details

Details for the file Parker-0.6.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for Parker-0.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 922257270c505a17a9f0699361da3cc0ac8b8cad223eb35943863ac04990135d
MD5 2bdd5a1451c1fed01afa2c8d885aba99
BLAKE2b-256 3ac7a7ad90f8a7a04b3cac84a1e377ae96fb4b44a61c1fe2cefe0cba7c380833

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