Skip to main content

a subtitle downloader for your movies and tv-series

Project description

a subtitle downloader for your movies and tv-series

How to install

If have pip installed on your machine. Just do

$ pip install subdl

If you do not have pip installed download this repository https://github.com/dhirajt/subdl/archive/master.zip and run

$ python setup.py install

after extracting it.

How to use

subdl can download movies by detecting media files in you drive using -d flag. It’ll download the first subtitle availble.

$ subdl -d /media/Hulk    # Hulk is my drive's name!

To choose from a list of subtitles use the choose flag.

$ subdl -cd /media/Hulk  # prompts before downloading subs

To specify a name for a movie or tv episode use name flag.

$ subdl -n 'the help'   # use quotes to specify names.

again this downloads the first subtitle available. To choose from a list use the -c flag

$ subdl -cn 'the help'  # prompts before downloading subs

To specify language use language flag.

$ subdl -cn 'the help' -l 'eng'  # downloads enlish subtitles

If no language is specified only english subtitles are downloaded. See below for supported languages.

Subtitle languages

Use only three characters for specifying language.

{
    "all": "ALL",
    "afr": "Afrikaans",
    "alb": "Albanian",
    "ara": "Arabic",
    "arm": "Armenian",
    "baq": "Basque",
    "ben": "Bengali",
    "bos": "Bosnian",
    "pob": "Portuguese-BR",
    "bre": "Breton",
    "bul": "Bulgarian",
    "bur": "Burmese",
    "cat": "Catalan",
    "chi": "Chinese",
    "hrv": "Croatian",
    "cze": "Czech",
    "dan": "Danish",
    "dut": "Dutch",
    "eng": "English",
    "epo": "Esperanto",
    "est": "Estonian",
    "fin": "Finnish",
    "fre": "French",
    "glg": "Galician",
    "geo": "Georgian",
    "ger": "German",
    "ell": "Greek",
    "heb": "Hebrew",
    "hin": "Hindi",
    "hun": "Hungarian",
    "ice": "Icelandic",
    "ind": "Indonesian",
    "ita": "Italian",
    "jpn": "Japanese",
    "kaz": "Kazakh",
    "khm": "Khmer",
    "kor": "Korean",
    "lav": "Latvian",
    "lit": "Lithuanian",
    "ltz": "Luxembourgish",
    "mac": "Macedonian",
    "may": "Malay",
    "mal": "Malayalam",
    "mon": "Mongolian",
    "nor": "Norwegian",
    "oci": "Occitan",
    "per": "Farsi",
    "pol": "Polish",
    "por": "Portuguese",
    "rum": "Romanian",
    "rus": "Russian",
    "scc": "Serbian",
    "sin": "Sinhalese",
    "slo": "Slovak",
    "slv": "Slovenian",
    "spa": "Spanish",
    "swa": "Swahili",
    "swe": "Swedish",
    "syr": "Syriac",
    "tgl": "Tagalog",
    "tam": "Tamil",
    "tel": "Telugu",
    "tha": "Thai",
    "tur": "Turkish",
    "ukr": "Ukrainian",
    "urd": "Urdu",
    "vie": "Vietnamese",
}

Bugs

Use github issue tracker to report bugs. https://github.com/dhirajt/subdl/issues

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

subdl-1.0.7.tar.gz (18.5 kB view details)

Uploaded Source

File details

Details for the file subdl-1.0.7.tar.gz.

File metadata

  • Download URL: subdl-1.0.7.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for subdl-1.0.7.tar.gz
Algorithm Hash digest
SHA256 c75d0c72b4ddd9640af8dcb1ad5b3e032347d42e4c63421d3a463a0fe0ba79f4
MD5 e41a5f644b5c367e148d321c7b73e6d0
BLAKE2b-256 ecb522c8f292c934b59c371e22c9c52174c3c04c78fe1fb9777882b31fa200f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page