Installation

Prequirements

Before installing dryscrape, you need to install some software it depends on:

On Ubuntu you can do that with one command (the # indicates that you need root privileges for this):

# apt-get install libqt4-dev libqtwebkit-dev qt4-qmake build-essential \
                  python-lxml python-pip

On other operating systems, you can use pip to install lxml (though you might have to install libxml and the Python headers first).

dryscrape

First, get a copy of dryscrape using Git:

$ git clone https://github.com/niklasb/dryscrape.git dryscrape
$ cd dryscrape

To install dryscrape, you first need to install webkit-server. You can use pip to do this for you (while still in the dryscrape directory).

# pip install -r requirements.txt

If you want, you can of course also install the dependencies manually.

Afterwards, you can use the setup.py script included to install dryscrape:

# python setup.py install

Note that dryscrape is written for Python 2.7+, so make sure that you use both the python and pip commands in the right version.