trflix-cli
v1.0.1
Published
CLI for downloading movies and subtitles
Downloads
229
Readme
trflix-cli
cli for downloading movies and tv shows with subtitles.
features
- search movies and tv shows
- download videos in multiple qualities (360p-1080p)
- automatic subtitle download (english default)
- interactive selection mode
- resume interrupted downloads
- organized file structure (movies/tv shows)
installation
npm install -g trflix-clicommands
search
trflix search <query>download movie
trflix download -m <title> -r <quality>
# example: trflix download -m "avatar" -r 1080download tv show
trflix download -t <title> -s <season> -e <episodes>
# example: trflix download -t "avatar" -s 1 -e 1options
| flag | description |
|------|-------------|
| -m, --movie <title> | movie title |
| -t, --tv <title> | tv show title |
| -s, --season <number> | season number |
| -e, --episodes <range> | episode(s) (e.g., 1 or 1-5) |
| -r, --resolution <quality> | video quality (360, 480, 720, 1080) |
| --all-episodes | download all episodes in season |
| --no-subs | skip subtitle download |
| --no-interactive | skip interactive selection |
configuration
# set default output directory
trflix config outputDir /path/to/videos
# set default quality
trflix config quality 1080
# set default subtitle language
trflix config subtitles en
# view current config
trflix configdownload location
movies are saved to:
~/videos/trashflix/movies/<title> <quality>.mp4
~/videos/trashflix/movies/<title> <quality>.srttv shows are saved to:
~/videos/trashflix/tv/<series>/season <n>/<title> sxxeyy <quality>.mp4
~/videos/trashflix/tv/<series>/season <n>/<title> sxxeyy <quality>.srtlicense
mit license - see license.md
