#download #post #e621 #e926 #tags #ported #command-line-tool

app e6dl

为e621或e926批量下载的命令行工具

1个不稳定版本

0.4.0 2022年5月25日

#6 in #e621

MIT 许可证

17KB
347 代码行

e6dl-rs

这是一个用于从e621或e926下载匹配特定标签的帖子的命令行工具。

这是这个项目的Rust版本,该项目最初是从JavaScript移植过来的。我对Rust还不擅长,所以用这个项目来提高我的Rust技能。(即,代码可能很糟糕,不符合最佳实践)。如果您发现可以改进的地方,请通过issue告诉我。

安装

$ cargo install e6dl

用法

USAGE:
    e6dl [FLAGS] [OPTIONS] <tags>

FLAGS:
    -h, --help
            Prints help information

    -s, --sfw
            Download posts from e926 instead of e621

    -V, --version
            Prints version information


OPTIONS:
    -c, --concurrency <concurrency>
            Maximum number of concurrent downloads [default: 5]

    -g, --group <group>...
            Save downloaded posts grouped by the specified grouping. You can specify multiple groupings. See:
            https://github.com/tjhorner/e6dl-rs/wiki/Post-Grouping
    -l, --limit <limit>
            The maximum number of posts that should be retrieved per page. There is a hard limit of 320 [default: 10]

    -o, --out <out>
            The directory to write the downloaded posts to [default: ./out]

        --page <page>
            The page that will be retrieved. Can also be used with "a" or "b" + `post_id` to get the posts after or
            before the specified post ID. For example, "a13" gets every post after post_id 13 up to the limit. This
            overrides any ordering meta-tag; `order:id_desc` is always used instead.

            If used with the `pages` option, only numeric page values are allowed. [default: 1]
    -p, --pages <pages>
            The maximum number of pages to download.

            Can be used in conjunction with the `page` option to start search at a specific page. [default: 1]

ARGS:
    <tags>
            The tags to search for, space-separated. See: https://e621.net/help/cheatsheet

许可证

MIT

依赖关系

~10–24MB
~349K SLoC