yts-commandline

CLI (command line interface) client for YTS

Usage no npm install needed!

<script type="module">
  import ytsCommandline from 'https://cdn.skypack.dev/yts-commandline';
</script>

README

yts commandline

Interact with YTS through CLI

Install

$ npm install -g yts-commandline

Usage

$ yts --help
Usage: yts [command] [option]

YTS Movies CLI Client

Options:
  -V, --version                        output the version number
  -h, --help                           display help for command

Commands:
  search|s [options] [query] [option]  search movies
  movie|m [options] <id>               fetch movie and perform operations like download, view trailer etc,
                                       use search command to get id
  help [command]                       display help for command
$ yts s --help
Usage: yts search|s [query] [option]

search movies

Options:
  -q, --quality <quality>   find using below supported qualities
                            (HD, FHD, 4K, 3D)
  -g, --genre <genre>       find using genre, see https://www.imdb.com/feature/genre
  -s, --sort <sorting>      sorts the results by choosen value,
                            (title, year, rating, peers, seeds, download_count, like_count, date_added)
  -o, --order <order>       orders the results by either ascending or descending order
                            (desc, asc)
  -m, --minrating <rating>  filter movies by a given minimum IMDb rating
                            (integer between 0 - 9)
  -h, --help                display help for 
$ yts m --help
Usage: yts movie|m <id> [option]

fetch movie and perform operations like download, view trailer etc,
use search command to get id

Options:
  -d, --download [quality]  download torrent
  -o, --open                view on YTS
  -t, --trailer             open trailer
  -i, --imdb                view movie on IMDB
  -s, --suggest             suggest 4 related movies
  -h, --help                display help for command

To run on Any Android Device

1. Install Termux
> https://play.google.com/store/apps/details?id=com.termux

2. Install any Torrent Client
> https://play.google.com/store/search?q=torrent%20client&c=apps

3. Open Termux and run
$ pkg install nodejs-lts
$ npm install -g yts-commandline

4. You can launch the CLI by typing yts on Termux now
$ yts

Disclaimer

The content is not provided by this software nor is the responsibility of the author.
Any violation of the law is full responsibility of the user and/or content providers.

Reanimating the dead project -> https://www.npmjs.com/package/yts-cli