Skip to main content

A CLI tool to download subtitles

Project description

SubCLI – Subtitle Downloader from SubtitleCat

SubCLI is a Python command-line interface (CLI) tool that allows you to search and download movie subtitles from subtitlecat.com, directly from your terminal.


Features

  • Search for subtitles by movie name
  • Choose from available language options
  • Download the selected subtitle as a .zip file
  • Interactive CLI interface with arrow key navigation
  • Built using Click and InquirerPy

Installation

Requires Python 3.6+

Option 1 – Install from PyPI (recommended)

pip install subcli

Option 2 – Install from source

  1. Clone the repository:
git clone https://github.com/yourusername/subcli.git
cd subcli
  1. Create a virtual environment (optional but recommended):
python -m venv .venv
source .venv/bin/activate  # On Windows use `.venv\Scripts\activate`
  1. Install the dependencies:
pip install -r requirements.txt
  1. Install the CLI locally:
pip install .

Usage

After installation, you can run:

subcli "John Wick 4"

What happens:

  1. The program searches for subtitle results on SubtitleCat
  2. Displays a list of subtitle versions
  3. Lets you select the desired language
  4. Downloads the subtitle .zip into the current directory

Example

$ subcli "The Matrix"

Found 12 subtitles for 'The Matrix':
? Select a subtitle result: (Use arrow keys)
=> The Matrix 1999 BluRay x264 YIFY
   The Matrix 1999 DVDRip
   The Matrix Reloaded 2003

? Select a subtitle language: (Use arrow keys)
=> English
   Portuguese
   Spanish

You selected: English
File downloaded as: The.Matrix.1999.YIFY.English.zip

Project Structure

subcli/
├── subcli/
│   ├── __init__.py
│   ├── cli.py               # CLI entry point
│   └── get_subtitle.py      # Scraping and download logic
├── setup.py
├── README.md
└── requirements.txt

Disclaimer

This project scrapes content from subtitlecat.com. Use it responsibly and respect the licensing terms associated with subtitle files.


Author

Developed by yannickRafael – contributions and forks are welcome.


License

MIT License


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

subcli-0.1.5.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

subcli-0.1.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file subcli-0.1.5.tar.gz.

File metadata

  • Download URL: subcli-0.1.5.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for subcli-0.1.5.tar.gz
Algorithm Hash digest
SHA256 04acdd3d2339c9ca5ea83aef81c8939d4914cb085854aa52ffbad8ee5e034520
MD5 c6909240626a4dcf77b1f51a1c187bcb
BLAKE2b-256 f194cb7704cd8cc06a03aa9e44f7474f8adf20bf74f5affa52d94ce4230f4e41

See more details on using hashes here.

File details

Details for the file subcli-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: subcli-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for subcli-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6a99cdfedbb15299fe16f9c9e34fa6aff302e54490e57e38707756a165e8a7a6
MD5 23fa0322a7cecfaa4cdbaec766f46f71
BLAKE2b-256 22540e95528273c478729313cb9f907c4df9784f8099273a1c84878388ca15f5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page