1
0
mirror of https://github.com/vikstrous/pirate-get synced 2025-01-10 10:04:21 +01:00
pirate-get/README.md

65 lines
2.1 KiB
Markdown
Raw Normal View History

# pirate-get
2012-11-16 08:52:09 +01:00
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-05-11 20:59:17 +02:00
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.
2012-11-16 08:52:09 +01:00
## Installation
2012-11-16 08:52:09 +01:00
2013-12-14 14:15:09 +01:00
Make sure you have python 2 installed.
2012-11-16 08:52:09 +01:00
2013-12-14 14:15:09 +01:00
Run install.sh
2012-11-16 08:52:09 +01:00
2014-05-12 06:22:28 +02:00
If you're using Arch Linux there's a package avalaible at the AUR:
https://aur.archlinux.org/packages/pirate-get-git/
## Usage
2012-11-16 08:52:09 +01:00
2013-02-21 21:24:54 +01:00
```
usage: pirate-get.py [-h] [-c category] [-R] [-l] [-t] [--custom COMMAND]
[--local DATABASE] [-p PAGES] [-0] [-a] [--color]
[search [search ...]]
2013-02-21 21:24:54 +01:00
2013-02-27 18:16:54 +01:00
Finds and downloads torrents from the Pirate Bay
2013-02-21 21:24:54 +01:00
2013-02-27 18:16:54 +01:00
positional arguments:
search Term to search for
2013-02-27 18:16:54 +01:00
optional arguments:
-h, --help show this help message and exit
-c category Specify a category to search
-R Torrents uploaded in the last 48hours. *ignored in
searches*
-l List categories
2013-12-14 14:32:45 +01:00
-t call transmission-remote to start the download
2014-05-11 20:59:17 +02:00
--custom COMMAND call custom command, %s will be replaced with the url
2013-02-27 18:16:54 +01:00
--local DATABASE An xml file containing the Pirate Bay database
-p PAGES The number of pages to fetch (doesn't work with --local)
2014-05-11 20:59:17 +02:00
-0 choose the top result
-a download all results
2014-05-11 20:59:17 +02:00
--color use colored output
2013-02-21 21:24:54 +01:00
```
## Configuration file
pirate-get will check to see if `$HOME/.config/pirate-get/pirate.cfg` exists. If it does it will use it as its default configuration settings.
### SaveToFile
**Currently this is the only way to save magnet urls to a file**
A config file would look something like:
```INI
[SaveToFile]
enabled = true
directory = ~/Dropbox/pirate-get/
```
## 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