Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyopensubtitles

Python wrapper for OpenSubtitles.org XMLRPC API

A command line utility to download subtitles for movies and episodes of TV shows from opensubtitles.org

Please do not forget to change the user agent in settings.py from the default value to the one you obtain after signing up from [OpenSubtitles.org] (https://trac.opensubtitles.org/projects/opensubtitles/wiki/DevReadFirst)

Usage

####Quickstart

fetchsubs.py The.Secret.Life.of.Walter.Mitty.2013.720p.BluRay.x264.YIFY.mp4

This will automatically download the subtitle for the given movie or a TV series episode.

usage: fetchsubs.py [-h] [--mode {auto,manual}] [--season SEASON]
                    [--episode EPISODE]
                    filename

positional arguments:
  filename

optional arguments:
  -h, --help            show this help message and exit
  --mode {auto,manual}
  --season SEASON       season number
  --episode EPISODE     episode number

You can also download manually by

fetchsubs.py --mode manual  --season 01 --episode 01 "breaking bad"

Credits

Thanks to OpenSubtitles.org

About

Python wrapper for OpenSubtitles.org XMLRPC API

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages