Installation

arackpy is a pure python package and runs on Windows, Linux and MacOS.

Note

These instructions apply to arackpy 0.1.0.

arackpy is available from PyPI. You can install it like any other Python library:

pip install arackpy

If you’re installing arackpy into your global site-packages directory, you might need to add sudo. But you shouldn’t do that; instead, create a venv. Alternatively, you can simply copy arackpy directly into your project folder, and use it without any installation.

Extras

arackpy is a pure python library, however in order to take advantage of its extra functionality, the following additional packages must be installed:

To install BeautifulSoup and make it the default html parser, type:

pip install bs4

Note

By default, arackpy uses the default python html parser.

To install Selenium for dealing with AJAX and JavaScript requests, type:

pip install selenium

Finally for Tor functionality (i.e. anonymous scraping), install the following packages from PyPI by typing:

pip install requests, stem, fake_useragent

Running the examples

The source code archives include examples. Archives are available on BitBucket: