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.5.tar.gz (18.4 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for subdl-1.0.5.tar.gz
Algorithm Hash digest
SHA256 9af9e97a4c98e655081b3a0f1c1893a61f1dd4fe22f92226a760cc16b66232c4
MD5 c2525ed36cc621fbef0c78e5ae5ec1e7
BLAKE2b-256 d122e31e1194c44e66c0d5bc3c90a26fe3d33eb46d0c34c66952b4315482b9da

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