2014-06-06 04:41:44 +02:00
# pirate-get
2013-08-31 03:02:07 +02:00
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.
2012-11-16 08:52:09 +01:00
2014-12-04 23:12:35 +01:00
Tested on Arch Linux mostly. It should work on any other Linux too. Let me know if it doesn't.
2015-03-26 00:14:22 +01:00
Also tested on OSX (works fine on yosemite)
`--local` option hasn't been tested recently.
2014-06-06 04:41:44 +02:00
## Installation
2014-12-03 21:30:03 +01:00
Make sure you have python 3 installed.
Requires `colorama` for colored output.
2012-11-16 08:52:09 +01:00
2014-12-04 23:12:35 +01:00
Run `./install`
2014-05-12 06:22:28 +02:00
2014-06-06 04:41:44 +02:00
## Usage
2014-12-04 23:12:35 +01:00
See `pirate-get -h` for help.
Watch [this ](http://showterm.io/d6f7a0c2a5de1da9ea317 ) for an example usage.
2013-02-21 21:24:54 +01:00
2014-06-06 04:41:44 +02:00
## Configuration file
2014-12-03 21:30:03 +01:00
You can use a file to override pirate-get's default settings.
2015-03-26 00:14:22 +01:00
Default is `$XDG_CONFIG_HOME/pirate-get` .
If it does not exist then `$HOME/.config/pirate-get` .
2014-06-06 04:41:44 +02:00
2015-03-26 00:14:22 +01:00
### Default config file
2015-07-16 01:00:16 +02:00
If not existing a new config file will be created when you start
pirate-get. Here the available options and their behaviors are when unset:
2014-06-06 04:41:44 +02:00
```INI
2015-03-26 00:14:22 +01:00
[Save]
2015-07-16 01:00:16 +02:00
; directory where to save files
directory = $PWD
; save each selected magnet link in a .magnet file
magnets = false
; save each selected torrent in a .torrent file
torrents = false
2015-03-26 00:14:22 +01:00
[LocalDB]
2015-07-16 01:00:16 +02:00
; use a local copy of the pirate bay database
enabled = false
; path of the database
path = ~/downloads/pirate-get/db
2015-03-26 00:14:22 +01:00
[Misc]
2015-07-16 01:00:16 +02:00
; specify a custom command for opening the magnet
; ex. myprogram --open %s
; %s represent the magnet uri
openCommand =
2015-03-26 00:14:22 +01:00
2015-07-16 01:00:16 +02:00
; open magnets with transmission-remote client
transmission = false
; use colored output
colors = true
2014-06-06 04:41:44 +02:00
```
2015-07-16 01:00:16 +02:00
Note:
Any command line option will override its respective setting in the config file.
2015-03-26 00:14:22 +01:00
2014-06-06 04:41:44 +02:00
## Notes
2013-02-21 21:24:54 +01:00
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
2014-10-28 07:48:02 +01:00
2014-10-28 07:48:38 +01:00
## License
2014-12-03 21:30:03 +01:00
pirate-get is licensed under the GNU Affero General Public License version 3 or later.
See the accompanying file COPYING or http://www.gnu.org/licenses/agpl.html.