• Stars
    star
    335
  • Rank 125,176 (Top 3 %)
  • Language
    Python
  • License
    GNU Affero Genera...
  • Created almost 12 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A command line interface for The Pirate Bay

pirate-get

Circle CI Coverage Status Code Climate Codacy Badge Gemnasium License Version Downloads

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.

Installation

Make sure you have python 3.4 and pip installed. On Ubuntu 14.04 you may also need to install the libxslt1-dev and libxml2-dev packages.

Run pip3 install pirate-get

Usage

To search use pirate-get [search term].

See pirate-get -h for more options.

Watch this for an example usage.

Configuration file

You can use a file to override pirate-get's default settings. Default is $XDG_CONFIG_HOME/pirate-get. If it does not exist then $HOME/.config/pirate-get.

Default config file

Here the available options and their behaviors are when unset:

[Save]
; 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

[LocalDB]
; use a local copy of the csv formatted pirate bay database
enabled = false

; path of the database
path = ~/downloads/pirate-get/db

[Search]
; maximum number of results to show
total-results = 50

[Misc]
; specify a custom command for opening the magnet
; ex. myprogram --open %s
; %s represent the magnet uri
openCommand =

; open magnets with transmission-remote client
transmission = false
; set to username:password if needed
transmission-auth =
; set to the port number if needed
transmission-port =

; use colored output
colors = true

; the pirate bay mirror(s) to use:
; one or more space separated URLs
mirror = http://thepiratebay.org

Note: Any command line option will override its respective setting in the config file.

Local Database

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

https://thepiratebay.org/static/dump/csv/

License

pirate-get is licensed under the GNU Affero General Public License version 3 or later. See the accompanying file LICENSE or http://www.gnu.org/licenses/agpl.html.

More Repositories

1

zengge-lightcontrol

A command line tool and library to control Zengge lightbulbs
Go
103
star
2

dataloadgen

An implementation of Facebook's DataLoader in Go
Go
58
star
3

tempts

Type-safe Temporal Go SDK wrapper
Go
12
star
4

tox-crawler

A crawler of the Tox p2p network
JavaScript
11
star
5

mvpkg

A tool for moving Go packages within a Go module
Go
11
star
6

WatTools

A collection of tools for University of Waterloo students (made by University of Waterloo students!)
8
star
7

gotox

[wip] a re-implementation of toxcore in go
Go
7
star
8

pdns-geoip-example

Example usage of powerdns's geoip backend
Makefile
6
star
9

mailserver

An easy to deploy dockerized mail server for a single user
Shell
5
star
10

Quest-Schedule-Exporter

Allows University of Waterloo students to export their schedules from Quest.
5
star
11

dataloadgen-example

An example of how to use https://github.com/vikstrous/dataloadgen with gqlgen
Go
4
star
12

slogevent

slogevent is a simplified (slow) API for integrating with slog
Go
3
star
13

otrsocket.js

A library that provides an abstraction on top of Off The Record and Chrome's socket API - built for Chrome Packaged Apps; abandoned - use only as example usage of the OTR library
JavaScript
3
star
14

dotfiles

random config files I don't want to have to figure out again
Shell
2
star
15

slogexamples

A set of example slog middlewares to show how to extend Go's slog logger
Go
2
star
16

peachfreeze-old

A p2p encrypted social network (A work in progress...)
JavaScript
1
star
17

d2lmtfa

A chrome extension to prevent Desire2Learn from logging you out when you are not looking.
JavaScript
1
star
18

game-of-life

JavaScript
1
star
19

lou-planner

A python tool for planning Lord of Ultima cities
1
star
20

mmorps

#sehackday
JavaScript
1
star
21

conveyor

A simple way to express boring "array" (hash map?) manipulation before passing it to a template system (mustache?).
PHP
1
star
22

stig-syntax

Code highlighting to StigScript in Sublime Text 2 (Warning: this may not be up to date with the latest syntax changes)
Vim Script
1
star
23

binder_full_of_elves

A binder for elf files
C++
1
star
24

marks.js

Allows students to keep track of their marks in school
JavaScript
1
star
25

resume

My resume compiler
HTML
1
star