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.4.tar.gz (4.1 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.4-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: subcli-0.1.4.tar.gz
  • Upload date:
  • Size: 4.1 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.4.tar.gz
Algorithm Hash digest
SHA256 55f1ce7ab9f24398d85ad7e760abf3b1d6c31c2bf044cfda7e53b51336602441
MD5 d2e0530dbe71b4f0aa2023722605f92b
BLAKE2b-256 7bfc0b4cfcd82fd048e4304feafba8849b2b9bf405c503f2646fad95a75ac3b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: subcli-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d9ceac8e9bf440e46ab8c6a9a37888c829903f7ad5e0369bd49817c8f0116ef7
MD5 cfef60a4e14d798685b5c68ecbe48266
BLAKE2b-256 4b983d11f8642729514fa47f8e1aca4abd307b4b8506041e1835cc5d41e8f4f4

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