Saniee / e-cli

Home Page:https://saniee.github.io/e-cli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E-Cli

Rust Binary Build
The command line tool for downloading E-Posts from a certain site.

It aims to be fast, and have verbose downloading console print outs.

What it can do:

  • Downloading Favourites of a user.
  • Downloading a single post from the site.
  • Downloading of multiple posts from a generated json file via get-pages
  • Downloading multiple pages

Usage

Downloading Favourites of a user with specific amount of posts.

e-tools.exe download-favourites {Username} -c {Number of Posts}

Downloading Random Favourites of a user

e-tools.exe download-favourites {Username} -r

Downloading a single post with lower quality

Note: This argument can be used with any of the commands the CLI has.

e-tools.exe --lower-quality download-post {Post Id}

Downloading pages of posts using the get-pages subcommand

First we get the pages via the subcommand:

e-tools.exe get-pages {Tags} -c {Number of Pages}

Then the command is as simple as it can be.

e-tools.exe download-posts posts.json

Note: posts.json was generated in the root dir when get-pages was ran.

Downloading posts from a txt file

Txt file format:

id1
id2
id3
...etc

The cli has a hard limit of 15 ids. It won't allow to go further.

Then we run the command:

e-tools.exe download-posts-from-txt {path to txt file}

About

https://saniee.github.io/e-cli/


Languages

Language:Rust 100.0%