Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
56 lines (45 loc) · 1.74 KB

readme.md

File metadata and controls

executable file
·
56 lines (45 loc) · 1.74 KB

TuSubseeker

Codacy Badge

Download www.tusubtitulo.com subtitles for your favorite shows from CLI.

Usage

First of all rename aliases.json.sample and languages.json.sample to aliases.json and languages.json, then define your aliases. Alias specification on next section.

Episode search:

python tusubseeker.py -t "Show title" -s Season -e Episode [-r "Release"] [-l langs...]

Folder search (WIP):

python tusubseeker.py [-f folder] [-l langs...]

Notes:

  • Show title MUST match the title used in www.tusubtitulo.com
  • Default download folder is "downloads" inside current working directory.
  • Define the default languages in the languages.json file for downloading those languages by default. If you want you want to download the subtitles in some specific language, use the argument "--language"
  • Only accepted language values are:
    • "en" for "English"
    • "es" for "Spanish (Spain)"
    • "es-la" for "Spanish (Latin America)"

Aliases

If a shows title is too long, or too complex to be written every single time, you can add it as a show in aliases.json keeping as a JSON Object inside the shows array.

{
    "shows":[
        {
            "alias":"yourAlias",
            "title":"TheShowWithTheLongAndAnnoying.Ti.Tle"
        },
        .
        .
    ]
}

Dependencies

Can be installed with pip: pip install -r requirements