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
.zipfile - 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
- Clone the repository:
git clone https://github.com/yourusername/subcli.git
cd subcli
- Create a virtual environment (optional but recommended):
python -m venv .venv
source .venv/bin/activate # On Windows use `.venv\Scripts\activate`
- Install the dependencies:
pip install -r requirements.txt
- Install the CLI locally:
pip install .
Usage
After installation, you can run:
subcli "John Wick 4"
What happens:
- The program searches for subtitle results on SubtitleCat
- Displays a list of subtitle versions
- Lets you select the desired language
- Downloads the subtitle
.zipinto 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
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.3.tar.gz.
File metadata
- Download URL: subcli-0.1.3.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 |
59d4a2d0a79d9f4c067dc9c82402ec008c7e9ef57c9574705e16b89c3d5c917b
|
|
| MD5 |
b019d60af966d1e4a26f6f3fa45464f0
|
|
| BLAKE2b-256 |
1f385cd9163c3fc405d5b361cb85499474dfd51f77bb20a9223c64e511867f7d
|
File details
Details for the file subcli-0.1.3-py3-none-any.whl.
File metadata
- Download URL: subcli-0.1.3-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 |
dd9a4f57fa86b4ecb6d08da302bb1388d188a093533eebf12523fe3f74524ea2
|
|
| MD5 |
537d5489218e4df9ac61cee937e152ee
|
|
| BLAKE2b-256 |
1c1b3cd9c96e0486f9b1d1548b0e41116ee3196c51818969dede3c816fde8795
|