Skip to main content

A command line tool to download movies subtitles

Project description

Witsub
======

Where Is The (fuck...) Subtitle

A simple command line software to automaticaly download video subtitle.
It use the [OpenSubtitles.org](http://www.opensubtitles.org/) database and its wonderfull API.

## How it work ?

Before...

videos
├── A wonderfull movies.avi
├── A top serie
│   ├── A top serie - S1E01.avi
│   └── A top serie - S1E02.avi
└── Not a video file.txt

Let's go...

witsub -f ./videos

After...

videos
├── A wonderfull movies.avi
├── A wonderfull movies.srt
├── A top serie
│   ├── A top serie - S1E01.avi
│   ├── A top serie - S1E01.srt
│   ├── A top serie - S1E02.avi
│   └── A top serie - S1E02.srt
└── Not a video file.txt

Keep it simple...

## How to install

The simple way to install Witsub is to use the PyPI package index:

pip install witsub

or to upgrade to the latest version

pip install --upgrade witsub

## How to use it ?

It can work with file (video file) or path (recursive to video files).

-f <path>: Path can be video file or folder

Options:

-v: Display version and exit
-V: Switch on debug mode (verbose)
-l <lang>: Set the subtitle language search (default is 'eng' for English)
Use the ISO 639-2 standard (example 'fre' for French)
-w: Force download and overwrite of existing subtitle

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

witsub-1.1.tar.gz (10.8 kB view details)

Uploaded Source

File details

Details for the file witsub-1.1.tar.gz.

File metadata

  • Download URL: witsub-1.1.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for witsub-1.1.tar.gz
Algorithm Hash digest
SHA256 588f81b135274a35cc1cfc4624342a559bb37ccce84a19210ac7f34b8980188e
MD5 5c0694fad614e073fbf98ea9587e17ae
BLAKE2b-256 52eda2a3d84fa0ddac2884bd668003bbce0a963219cdb687204d437477239291

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