Giter Club home page Giter Club logo

subtitle's Introduction

subtitle

subtitle是用于获取字幕的工具目前支持射手,迅雷两个平台获取字幕

Build Status

安装

  • 自行编译
git clone install github.com/YouCD/subtitle
cd subtitle
make build&&sudo mv bin/subtitle/subtitle /usr/local/bin
  • 快速安装
go install github.com/YouCD/subtitle@latest

食用方法

subtitle默认从射手网往下载字幕

  • 自动获取当前目下视频文件,并下载字幕,字幕源为迅雷
subtitle --source xunlei 
  • 自动获取当前目下视频文件,并下载字幕,字幕源为射手网
subtitle 
  • 指定目录
# subtitle  -d Forever.US.S01 
The subtitle file Forever.US.S01/Forever.2014.S01E01.Pilot.1080p.WEB-DL.DD5.1.H.264-ECI.ass is saved.
The subtitle file Forever.US.S01/Forever.2014.S01E01.Pilot.1080p.WEB-DL.DD5.1.H.264-ECI.01.srt is saved.
The subtitle file Forever.US.S01/Forever.2014.S01E01.Pilot.1080p.WEB-DL.DD5.1.H.264-ECI.02.srt is saved.
  • 获取帮助
subtitle --help            
subtitle 是用于获取字幕的工具

Usage:
  subtitle [flags]
  subtitle [command]

Examples:
    指定电影文件下载
        subtitle -f SomeVideo.mkv
    指定电影文件夹
        subtitle -d SomeVideDir
    指定源 支持 Shooter Xunlei  OpenSubtitles(可简写为:osb)   默认为射手网 Shooter
        subtitle --source xunlei -d SomeVideDir
        subtitle --source  osb   -d SomeVideDir

Available Commands:
  completion  generate the autocompletion script for the specified shell
  help        Help about any command
  version     Print the version info of subtitle

Flags:
  -d, --dir string      指定电影存放目录
  -f, --file string     指定电影文件,如果不指定则使用当前目录
  -h, --help            help for subtitle
      --source string   指定字幕源,如果不指定则默认为 shooter (default "shooter")

Use "subtitle [command] --help" for more information about a command.

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.