Giter Club home page Giter Club logo

ranger's Introduction

Lone Ranger(独行侠)

由于迅雷改了接口,已基本不可用

由于迅雷改了接口,已基本不可用

由于迅雷改了接口,已基本不可用


Lone Ranger是一个命令行版的电影外挂字幕下载器,使用Rust语言编写。

可预见的时间内,该工具主要面向简体中文用户。

目前仅使用迅雷看看API用于下载字幕,将来可能增加其他字幕源。

安装与更新

目前仅有Cargo一种发布方式,将来可能提供更多安装途径

Rust

运行以下命令

cargo install lone-ranger

推荐使用cargo-update用于批量检测并升级Cargo安装的包。

使用方式

运行以下命令可查看帮助信息

ranger -h

ranger's People

Contributors

dcjanus avatar lipuu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ranger's Issues

下载成功,但找不到文件

ranger '我的电影路径和文件名' 后提示
下载成功:xxxxxx
但是在运行目录和电影目录都没找到字幕文件。

我在ubuntu 16.04上操作。

似乎这个项目当前无法下载字幕

本人使用windows10 22h2版本。已成功编译成ranger.exe。字幕在软件是明显存在的,下载下来后使用ranger解析当下目录得到以下字幕文件:

安装不上啊!~服务器的事?

Blocking waiting for file lock on package cache lock
Updating crates.io index

warning: spurious network error (2 tries remaining): failed to read data: The se
response
; class=Os (2)
Fetch [ ] 0.21%

安装的时候出现error[E0277]: the trait bound `std::path::PathBuf: std::str::FromStr` is not satisfied 错误

error[E0277]: the trait bound `std::path::PathBuf: std::str::FromStr` is not satisfied 
 --> /home/myhome/.cargo/registry/src/github.com-1ecc6299db9ec823/lone-ranger-1.0.3/src/arguments.rs:22:20
   |                                                                                             
22 |     let path = src.parse::<PathBuf>()?.absolutize()?;                                       
   |                    ^^^^^ the trait `std::str::FromStr` is not implemented for `std::path::PathBuf`
                                                                                                 
error: aborting due to previous error                                                            
                                                                                                 
For more information about this error, try `rustc --explain E0277`.                              
error: failed to compile `lone-ranger v1.0.3`, intermediate artifacts can be found at `/tmp/cargo-installZVR69O`

Caused by:
  Could not compile `lone-ranger`.

To learn more, run the command again with --verbose.

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.