Giter Club home page Giter Club logo

mikack-cli's Introduction

mikack-cli

一个高质量重构的 mikack(原 manga-cli)项目分支,专注于为 CLI 提供功能。

说明

基于跨平台的 mikack 库,支持大量的在线漫画平台(详情请参考 mikack 项目说明)。

本工具是 mikack 周边项目的一员,它还包括有基于同一个核心库的桌面版和手机版。

使用方式

  • 命令行帮助:

    mikack-cli 0.1.0-dev
    Hentioe (绅士喵), <[email protected]>
    A tool for exporting online comics
    
    USAGE:
        mikack-cli [OPTIONS] [url]
    
    FLAGS:
        -h, --help       Prints help information
        -V, --version    Prints version information
    
    OPTIONS:
        -f, --format <save-format>    Saved format (eg: epub)
    
    ARGS:
        <url>    The address of the comic home page or reading page
    
  • 基本使用:

    • 直接粘贴 URL:

      mikack-cli https://www.dm5.com/m136026/

      支持漫画主页或具体的阅读页面,前者展示章节(话)列表,后者直接进行下载。

    • 指定保存格式:

      mikack-cli -f epub https://www.dm5.com/m136026/

      若不指定,则仅仅将图片下载到目录。

无任何参数启动会进入交互模式,选择平台和漫画章节进行下载。章节支持多选。

格式说明

本项目当前主要支持 epub 格式,这是一种通用的现代电子图书格式。本工具生成的 epub 文件使用 Flexbox 布局,在任何标准的规范的阅读器上都能获得良好的阅读体验。

推荐阅读器

  • Calibre(Windows/Linux/Mac)
  • Lithium(Android)

在旧版 mikack 项目中支持了更多的格式,例如 mobi/azw3/zip。因为某些原因,暂且没有支持这些格式。顾及到 Kindle 用户,mobi/azw3 格式将会支持,而 zip 一类的压缩格式请自行使用压缩软件。

mikack-cli's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mikack-cli's Issues

使用上的请教

我尝试搜索了相关关键词,但是几番尝试没有预期中的成功。
我按照楼主说的youtube-dl找到使用教程,想着说不定用法相通,但是无果
尝试了添加path,无果,'manga' 不是内部或外部命令,也不是可运行的程序。这个不确定怎么解决

完全无法理解如何使用

我是从作者知乎文章来的。但是下载完文件夹后就毫无头绪了。使用说明下一推专业术语但是没有“第一步”“第二步”这样最基础的说明。也许程序员们是看得懂,但是作者似乎忘了来这里下载程序是因为大家都是lsp,而不是因为每个人都是程序员

windows版教程不全

请问各个不同的工作模式有何不同,如何切换输出格式?
默认的模式是下载图片并保存到对应文件夹后进行压缩,输出后对应文件夹没有删除,不知是bug还是没有删除。
平台 surface laptop一代,win10版本1809.17763.316,除firefox和火绒外无其它后台程序,下载https://manhua.dmzj.com/qsgsjdbdsn/,模式1,范围1-75

Windows Support

git commit hash: c44f1ef
commit date: Thu Feb 20 15:31:58 2020

This version of the code failed to build on Windows.
Because its dependent library quickjs-rs fails to build on Windows.

If we want to support Windows, one way to move forward maybe:

  1. Submit patch to quickjs-rs build script at here
  2. this link may offer some hint on how to come up with the fix for item 1.

error[E0554]: #![feature] may not be used on the stable release channel

CentOS 7
cargo build 錯誤訊息 , 感謝協助

[root@rd-studio manga]# cargo run
Downloaded either v1.5.3
Downloaded hyper v0.12.35
Compiling proc-macro2 v1.0.3
Compiling semver-parser v0.7.0
Compiling libc v0.2.62
Compiling autocfg v0.1.6
Compiling unicode-xid v0.2.0
Compiling rand_core v0.4.2
Compiling syn v1.0.5
Compiling byteorder v1.3.2
Compiling proc-macro2 v0.4.30
Compiling siphasher v0.2.3
Compiling stable_deref_trait v1.1.1
Compiling unicode-xid v0.1.0
Compiling arrayvec v0.4.11
Compiling log v0.4.8
Compiling cc v1.0.45
Compiling smallvec v0.6.10
Compiling serde v1.0.100
Compiling lazy_static v1.4.0
Compiling ryu v1.0.0
Compiling nodrop v0.1.13
Compiling cfg-if v0.1.9
Compiling scopeguard v0.3.3
Compiling either v1.5.3
Compiling string_cache_shared v0.3.0
Compiling pkg-config v0.3.16
Compiling scopeguard v1.0.0
Compiling memchr v2.2.1
Compiling futures v0.1.29
Compiling slab v0.4.2
Compiling syn v0.15.44
Compiling fnv v1.0.6
Compiling version_check v0.1.5
Compiling itoa v0.4.4
Compiling bitflags v1.1.0
Compiling matches v0.1.8
Compiling ucd-trie v0.1.2
Compiling foreign-types-shared v0.1.1
Compiling mac v0.1.1
Compiling new_debug_unreachable v1.0.3
Compiling httparse v1.3.4
Compiling rustc-demangle v0.1.16
Compiling failure_derive v0.1.5
Compiling openssl v0.10.24
Compiling maplit v1.0.2
Compiling try-lock v0.2.2
Compiling unic-char-range v0.7.0
Compiling unic-common v0.7.0
Compiling regex-syntax v0.6.12
Compiling percent-encoding v1.0.1
Compiling crc32fast v1.2.0
Compiling dtoa v0.4.4
Compiling indexmap v1.2.0
Compiling native-tls v0.2.3
Compiling percent-encoding v2.1.0
Compiling precomputed-hash v0.1.1
Compiling utf-8 v0.7.5
Compiling procedural-masquerade v0.1.6
Compiling encoding_rs v0.8.19
Compiling cgmath v0.16.1
Compiling winapi v0.3.8
Compiling openssl-probe v0.1.2
Compiling adler32 v1.0.3
Compiling deunicode v0.4.3
Compiling approx v0.1.1
Compiling unicode-width v0.1.6
Compiling thin-slice v0.1.1
Compiling mime v0.3.14
Compiling ordermap v0.3.5
Compiling fixedbitset v0.1.9
Compiling humansize v1.1.0
Compiling podio v0.1.6
Compiling quick-error v1.2.2
Compiling glob v0.2.11
Compiling rgb v0.8.14
Compiling ego-tree v0.6.0
Compiling lazy_static v0.2.11
Compiling same-file v1.0.5
Compiling nom v2.2.1
Compiling strsim v0.8.0
Compiling ansi_term v0.11.0
Compiling vec_map v0.8.1
Compiling termcolor v1.0.5
Compiling semver v0.9.0
Compiling rand_pcg v0.1.2
Compiling rand_chacha v0.1.1
Compiling rand v0.6.5
Compiling num-traits v0.2.8
Compiling num-integer v0.1.41
Compiling rand_core v0.3.1
Compiling rand_jitter v0.1.4
Compiling phf_shared v0.7.24
Compiling owning_ref v0.4.0
Compiling owning_ref v0.3.3
Compiling backtrace-sys v0.1.31
Compiling bzip2-sys v0.1.7
Compiling unicode-normalization v0.1.8
Compiling thread_local v0.3.6
Compiling servo_arc v0.1.1
Compiling crossbeam-utils v0.6.6
Compiling try_from v0.3.2
Compiling openssl-sys v0.9.49
Compiling lock_api v0.3.1
Compiling tokio-sync v0.1.6
Compiling unicase v2.5.1
Compiling error-chain v0.12.1
Compiling unicode-bidi v0.3.4
Compiling pest v2.1.2
Compiling foreign-types v0.3.2
Compiling futf v0.1.4
Compiling unic-char-property v0.7.0
Compiling unic-ucd-version v0.7.0
Compiling dtoa-short v0.3.2
Compiling miniz_oxide v0.3.2
Compiling slug v0.1.4
Compiling getopts v0.2.21
Compiling textwrap v0.11.0
Compiling petgraph v0.4.13
Compiling humantime v1.3.0
Compiling scan_dir v0.3.3
Compiling walkdir v2.2.9
Compiling rustc_version v0.2.3
Compiling rand_xorshift v0.1.1
Compiling rand_isaac v0.1.1
Compiling rand_hc v0.1.0
Compiling phf v0.7.24
Compiling lock_api v0.1.5
Compiling tokio-executor v0.1.8
Compiling crossbeam-queue v0.1.2
Compiling idna v0.2.0
Compiling idna v0.1.5
Compiling pest_meta v2.1.2
Compiling tendril v0.4.1
Compiling unic-ucd-segment v0.7.0
Compiling quote v1.0.2
Compiling memoffset v0.5.1
Compiling parking_lot_core v0.4.0
Compiling parking_lot_core v0.6.2
Compiling hyper v0.12.35
Compiling parking_lot v0.9.0
Compiling rand_os v0.1.3
Compiling iovec v0.1.2
Compiling net2 v0.2.33
Compiling num_cpus v1.10.1
Compiling time v0.1.42
Compiling rand v0.4.6
Compiling clicolors-control v1.0.1
Compiling termios v0.3.1
Compiling atty v0.2.13
Compiling fxhash v0.2.1
Compiling base64 v0.10.1
Compiling quote v0.6.13
Compiling want v0.2.0
Compiling tokio-timer v0.2.11
Compiling tokio-current-thread v0.1.6
Compiling aho-corasick v0.7.6
Compiling url v2.1.0
Compiling url v1.7.2
Compiling unic-segment v0.7.0
Compiling flate2 v1.0.11
Compiling bytes v0.4.12
Compiling mio v0.6.19
Compiling futures-cpupool v0.1.8
Compiling parking_lot_core v0.2.14
Compiling clap v2.33.0
Compiling num-traits v0.1.43
Compiling number_prefix v0.2.8
Compiling syn v0.14.9
Compiling backtrace v0.3.37
Compiling bzip2 v0.3.3
Compiling regex v1.3.1
Compiling mime_guess v2.0.1
Compiling cookie v0.12.0
Compiling serde_derive v1.0.100
Compiling pest_generator v2.1.1
Compiling tokio-io v0.1.12
Compiling string v0.2.1
Compiling http v0.1.18
Compiling tokio-buf v0.1.1
Compiling parking_lot v0.4.8
Compiling phf_generator v0.7.24
Compiling uuid v0.7.4
Compiling chrono v0.4.9
Compiling cssparser v0.24.1
Compiling synstructure v0.10.2
Compiling html5ever v0.22.5
Compiling zip v0.5.3
Compiling console v0.9.0
Compiling env_logger v0.6.2
Compiling pest_derive v2.1.0
Compiling crossbeam-epoch v0.7.2
Compiling h2 v0.1.26
Compiling http-body v0.1.0
Compiling tree_magic v0.2.1
Compiling parking_lot v0.7.1
Compiling string_cache_codegen v0.4.2
Compiling phf_codegen v0.7.24
Compiling winconsole v0.10.0
Compiling publicsuffix v1.5.3
Compiling serde_json v1.0.40
Compiling serde_urlencoded v0.5.5
Compiling crossbeam-deque v0.7.1
Compiling indicatif v0.11.0
Compiling console v0.7.7
Compiling tokio-reactor v0.1.9
Compiling string_cache v0.7.3
Compiling cssparser-macros v0.3.6
Compiling selectors v0.20.0
Compiling colored v1.8.0
Compiling failure v0.1.5
Compiling markup5ever v0.7.5
Compiling tera v0.11.20
Compiling tokio-threadpool v0.1.15
Compiling tokio-tcp v0.1.3
warning[E0506]: cannot assign to self.input.cached_token because it is borrowed
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/cssparser-0.24.1/src/parser.rs:572:17
|
547 | pub fn next_including_whitespace_and_comments(&mut self) -> Result<&Token<'i>, BasicParseError<'i>> {
| - let's call the lifetime of this reference '1
...
560 | Some(ref cached_token)
| ---------------- borrow of self.input.cached_token occurs here
...
572 | self.input.cached_token = Some(CachedToken {
| ^^^^^^^^^^^^^^^^^^^^^^^ assignment to borrowed self.input.cached_token occurs here
...
584 | Ok(token)
| --------- returning this value requires that self.input.cached_token.0 is borrowed for '1
|
= warning: this error has been downgraded to a warning for backwards compatibility with previous releases
= warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future
= note: for more information, try rustc --explain E0729

Compiling cookie_store v0.7.0
Compiling tokio v0.1.22
Compiling hyper-tls v0.3.2
Compiling reqwest v0.9.20
Compiling scraper v0.9.2
Compiling manga-bot v0.1.9 (https://github.com/manga-project/manga-bot?tag=0.1.9#a566abb5)
error[E0554]: #![feature] may not be used on the stable release channel
--> /root/.cargo/git/checkouts/manga-bot-7b6d0cbc6e15c856/a566abb/src/lib.rs:1:1
|
1 | #![feature(fn_traits)]
| ^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try rustc --explain E0554.
error: Could not compile manga-bot.

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.