定制 p4bloch/subdivx 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

p4bloch/subdivx

最新稳定版本:1.3.0

Composer 安装命令:

composer require p4bloch/subdivx

包简介

Download subtitles from Subdivx.com's repository easily from the command line.

README 文档

README

#Subdivx Download CLI tool that eases the process of searching and downloading subtitles from the subdivx.com repository.

Dependencies

This project depends upon the unrar and unzip tools to extract the subtitle from the downloaded file. On OS X, Homebrew is your friend to install them.

Installation

You need to have Composer, the PHP Package Manager, installed on your machine in order to use this tool. Once you have composer, you can install this package globally, so it can be accessed from any directory.

$ composer global require "p4bloch/subdivx:1.*"

Usage

Note: You need to add ~/.composer/vendor/bin to your PATH. On OS X, simply edit (or create) ~/.bash_profile and add this line export PATH=$PATH:~/.composer/vendor/bin. Open up a new terminal and you should be good to go.

In order to search for subtitles, simply type subdivx into your terminal and you'll be prompted to enter the subtitle you are looking for. Search results are ordered by date, descending, so new (and presumably better) subtitles appear first.

Alternatively, you can pass the search term as a parameter:

$ subdivx download 'my tv show s01e01'

You can also pass a second parameter to the command, which will act as a filter to the results. This is very handy when you need subtitles for a specific version.

$ subdivx download 'my tv show s01e01' web-dl
$ subdivx download 'my tv show s01e01' lol
$ subdivx download 'my tv show s01e01' argenteam

Update

In order to update this package, run

$ composer global update

统计信息

  • 总下载量: 54
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-29