1
0
mirror of https://github.com/vikstrous/pirate-get synced 2025-01-10 10:04:21 +01:00
A command line interface for The Pirate Bay
Go to file
Brad Horrocks c5162b76ae what the hell was i doing
Revert "Fixes #4 - Very basic configuration docs"

This reverts commit d60e3b2a24.
2014-06-05 20:41:13 -06:00
.gitignore Removed temporary files 2014-01-31 22:15:47 +00:00
install.sh Fixed install script. mktemp required 6 'Xs' to work. 2014-04-16 15:34:16 -04:00
pirate-get.py "sizes" and "uploaded" lists get generated for every page 2014-05-13 21:02:43 +02:00
README.md what the hell was i doing 2014-06-05 20:41:13 -06:00
uninstall.sh Let uninstall exit on error 2014-03-03 16:59:45 +01:00

pirate-get

pirate-get is a convenient command line tool (inspired by APT) to speed up your trip to the Pirate Bay and get your completely legal torrents more quickly.

Tested on Arch Linux mostly. It should work on any other Linux too. Let me know if it doesn't. Also tested on OSX (whatever the latest one is - I don't know; I don't use non-free operating systems.) --local option hasn't been tested recently.

Installation

Make sure you have python 2 installed.

Run install.sh

If you're using Arch Linux there's a package avalaible at the AUR: https://aur.archlinux.org/packages/pirate-get-git/

Usage

usage: pirate-get.py [-h] [-t] [--custom COMMAND] [--local DATABASE]
                     [-p PAGES] [-0] [--color]
                     search_term

Finds and downloads torrents from the Pirate Bay

positional arguments:
  search_term       The term to search for

optional arguments:
  -h, --help        show this help message and exit
  -t                call transmission-remote to start the download
  --custom COMMAND  call custom command, %s will be replaced with the url
  --local DATABASE  An xml file containing the Pirate Bay database
  -p PAGES          The number of pages to fetch (doesn't work with --local)
  -0                choose the top result
  --color           use colored output

If you want to use a local copy of the Pirate Bay database download a copy here (or wherever the latest version is currently):

http://thepiratebay.se/torrent/8156416