# The Pirate Spyglass

Scrape the Pirate Bay.

## Installation

Clone the repository and install using `setup.py`.

    git clone https://github.com/Pringley/spyglass.git
    cd spyglass
    python setup.py install

(The last command may require administrator/`sudo` privileges.)

## Usage

There are two commands available:

### `top` -- most popular torrents

    spyglass top <N>

Look up the top N torrents. Print info about each in JSON, one torrent per
line.

### `lookup` -- look up a specific torrent

    spyglass lookup <URL>

Re-scrape a Pirate Bay URL. Print its info in JSON.

# The Pirate Spyglass

Scrape the Pirate Bay.

## Installation

Install using [pip](http://pip-installer.org):

    pip install spyglass

This may require administrator/`sudo` privileges.

## Usage

There are two commands available:

### `top` -- most popular torrents

    spyglass top <N>

Look up the top N torrents. Print info about each in JSON, one torrent per
line.

### `lookup` -- look up a specific torrent

    spyglass lookup <URL>

Re-scrape a Pirate Bay URL. Print its info in JSON.

Change install instructions to use pip
Change install instructions to use pip
