Skip to main content
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/nicolargo/witsub/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

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

Release files for witsub 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for witsub 1.2.1
File Size Uploaded
witsub-1.2.1.tar.gz 6.8 kB Details

Release files / witsub-1.2.1.tar.gz

Download URL witsub-1.2.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
55f47c671f8a6afdf1ed5adaff5917f06fc16b1180d3c512908587c72a47b0c6
BLAKE2b-256 checksum
How to use checksums
9a064f1cbff3f4d0ddae7dce86c4ebc6c5ed17c2ec9556200350a24815384dd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2.1 This release

1 release file

1.2

1.1

1 release file

1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page