kennedn / bay

CLI frontend for thepiratebay.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bay

A bare bones CLI frontend for finding magnet links on the command line using apibay.org, thepiratebay's internal JSON api.

Prerequisites

  • jq installed and on system path
  • A recent version of BASH

To install jq on debian based systems, run the following:

sudo apt update
sudo apt install jq

You can then run the script by doing the following:

chmod 744 bay.sh
./bay.sh

Usage

usage: bay.sh [-t|-m|-c|-l|-h] [TERM]...
Query apibay for magnet links
Example: bay.sh ISO Debian 9

Options:
  -t,--tv
        print top 100 tv shows
  -m,--movie
        print top 100 movies
  -c,--custom
        Display custom top 100 catagory
  -l,--list
        List top 100 keys, for use with -c
  -h,--help
        print this message

About

CLI frontend for thepiratebay.org


Languages

Language:Shell 100.0%