GithubHelp home page GithubHelp logo

sumonst21 / subtitle-finder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omerucel/subtitle-finder

0.0 2.0 0.0 9 KB

subtitle-finder is a cli tool that helps to download subtitles. Currently supports opensubtitles and yifysubtitles APIs.

PHP 100.00%

subtitle-finder's Introduction

About

subtitle-finder is a cli tool that helps to download subtitles. Currently supports opensubtitles and yifysubtitles APIs.

Installation:

$ composer global require omerucel/subtitle-finder
$ export PATH="$PATH:$HOME/.composer/vendor/bin"

Usage

$ subtitle-finder --help
Usage:
    subtitle-finder [options]

Options:
    -f, --file[=FILE]  Movie file.
    -l, --lang[=LANG]  Language code. When yify support enabled, language option is useless. [default: all]
    -y, --yify Use yifysubtitles instead of opensubtitles.
    -ua, --user-agent   Registered user-agent for opensubtitles API. [default: OSTestUserAgent]
    -h, --help Display this help message.

Language Codes:
    All: all
    Chinese (simplified): chi
    Chinese (traditional): zht
    English: eng
    Turkish: tur

With opensubtitles:

$ subtitle-finder -f Test.mp4
English
    1) test.2015.1080p.bluray.x264 (ASCII) (IMDB:XYZ)
    2) EeSt.2015.BrRip.720p.WEB-DL.MkvCage (ASCII) (IMDB:XYZ)
Estonian
    3) Test.2015.720p.BluRay.x264-BLOW (CP1257) (IMDB:XYZ)
Spanish
    4) TEsT.2015.BDRip.x264-COCAIN (CP1252) (IMDB:XYZ)
Select subtitle to download: 1
Downloading...
Done!

With yify:

$ subtitle-finder -f Test.mp4 --yify
arabic
    1) http://www.yifysubtitles.com/subtitle-api/test-yify-XYZ.zip
    2) http://www.yifysubtitles.com/subtitle-api/test-yify-XYZ.zip
brazilian-portuguese
    3) http://www.yifysubtitles.com/subtitle-api/test-yify-XYZ.zip
bulgarian
    4) http://www.yifysubtitles.com/subtitle-api/test-yify-XYZ.zip
chinese
    5) http://www.yifysubtitles.com/subtitle-api/test-yify-XYZ.zip
Select subtitle to download: 1
Downloading...
Done!

subtitle-finder's People

Contributors

omerucel avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.