Search and download torrents. Torrents are sourced from The Pirate Bay via the
API at https://apibay.org/q.php?q=%SEARCH_TERMS%
.
Usage
qm search Search for torrents
Arguments:
Search terms, e.g. title, IMDb ID
qm download Download a torrent
Arguments:
Torrent info hash
Options:
--interactive Interactively select files to download
qm config Get configuration
Arguments:
The config setting to get
Possible values:
- directory The directory to which torrents are downloaded
qm config Set configuration
Arguments:
The config setting to set
Possible values:
- directory The directory to which torrents are downloaded
The new value to set
Example Usage
# Search for a torrent by title $ qm search the godfather Hash Size Seeds Name ---------------------------------------- -------- ----- -------------------------------------------------------------------------------- 0123456789ABCDEF0123456789ABCDEF01234567 2.4GB 256 The Godfather (1972) ... # Search for a torrent by IMDb ID $ qm search tt0068646 Hash Size Seeds Name ---------------------------------------- -------- ----- -------------------------------------------------------------------------------- 0123456789ABCDEF0123456789ABCDEF01234567 2.4GB 256 The Godfather (1972) ... # Download a torrent to current directory $ qm download 0123456789ABCDEF0123456789ABCDEF01234567 Downloading torrent file to ~/0123456789ABCDEF0123456789ABCDEF01234567.torrent Downloading to ~/The Godfather (1972) 15% Downloading 15% The.Godfather.1972.mp4 85% The.Godfather.1972.srt # Set download directory