A CLI tool to download subtitles
Project description
SubCLI – Subtitle Downloader from SubtitleCat
SubCLI is a Python command-line tool that helps you quickly search and download movie subtitles from subtitlecat.com, all from your terminal.
Features
- Search for subtitles by movie name
- Choose from available language options
- Download selected subtitle as a
.srt - Simple, interactive CLI with arrow-key navigation
- Clean terminal interface using Click and InquirerPy
Installation
Requires Python 3.6+
1. Clone the project
git clone https://github.com/yourusername/subcli.git
cd subcli
2. Create a virtual environment (optional but recommended)
python -m venv .venv
source .venv/bin/activate # On Windows use `.venv\Scripts\activate`
3. Install dependencies
pip install -r requirements.txt
4. Install CLI locally
pip install .
Usage
Once installed, you can run:
subcli "John Wick 4"
What it does:
- Searches SubtitleCat for results
- Shows you a list of subtitle versions
- Lets you pick a language
- Downloads the subtitle
.zipto the current folder
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 entrypoint
│ └── get_subtitle.py # Core logic for scraping & downloading
├── setup.py
├── README.md
└── requirements.txt
Disclaimer
This tool scrapes content from subtitlecat.com. Use it responsibly and respect subtitle licensing where applicable.
Author
Developed by yannickRafael – feel free to fork or contribute.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file subcli-0.1.1.tar.gz.
File metadata
- Download URL: subcli-0.1.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e386534e7f30e54701057381153afbbf0cedf672c45d6f419e9e284ff96689f3
|
|
| MD5 |
5a3d0c4b72b89c1cc319cd5f4282761f
|
|
| BLAKE2b-256 |
d7c27be2ea6fbbe54ff93caa3eebd7564e1a419d1941fdfdc4fc3475f107242a
|
File details
Details for the file subcli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: subcli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4801ee36b5754521d9eb9ef4c35728f09d900ba4357ba791b7c0b0c5f3371f9f
|
|
| MD5 |
a2a105155328b01a6039d2bdb9c0339c
|
|
| BLAKE2b-256 |
fc710408162ab6450d88325430a8856de66721b87f9dd7ab99fef03d66f9336e
|