spyda is a simple tool and library written in the Python Programming Language to crawl a given url whilst allowing you to restrict results to a specified domain and optionally also perform pattern matching against URLs crawled. spyda will report on any URLs it was unable to crawl along with their status code and store successfully crawled links and their content in a directory structure that matches the domain and URLs searched.
spyda was developed at Griffith University as a tool and library to assist with web crawling tasks and data extraction and has been used to help match researcher names against publications as well as extract data and links from external sources of data.
spyda also comes basic documentation and a full comprehensive unit test suite which require the following:
To build the docs:
To run the unit tests:
The simplest and recommended way to install spyda is with pip. You may install the latest stable release from PyPI with pip:
> pip install spyda
If you do not have pip, you may use easy_install:
> easy_install spyda
> python setup.py install
You can also install the latest-development version by using pip or easy_install:
> pip install spyda==dev
> easy_install spyda==dev
For further information see the spyda documentation.
- Linux, FreeBSD, Mac OS X
- Python 2.6, 2.7
- Windows: We acknowledge that Windows exists and make reasonable efforts
- to maintain compatibility. Unfortunately we cannot guarantee support at this time.