p4bloch/subdivx
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
p4bloch/subdivx 适用场景与选型建议
p4bloch/subdivx 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 54 次下载、GitHub Stars 达 4, 最近一次更新时间为 2014 年 12 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 p4bloch/subdivx 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 p4bloch/subdivx 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 54
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-29