Go to file
TJ Horner 43c8a67e6f cool bug fixes 2019-02-28 16:29:47 -08:00
src cool bug fixes 2019-02-28 16:29:47 -08:00
.gitignore yep good 2019-02-28 11:47:50 -08:00
Gopkg.lock yep good 2019-02-28 11:47:50 -08:00
Gopkg.toml yep good 2019-02-28 11:47:50 -08:00
LICENSE yep good 2019-02-28 11:47:50 -08:00
Makefile move the go source files to src directory 2019-02-28 12:03:45 -08:00
README.md readme 2019-02-28 16:20:45 -08:00

README.md

e6dl

"I don't care about any of this, just take me to the downloads"

This is a command line tool for downloading posts that match certain tags on e621 or e926.

It does basically the same thing as this tool except it was written in Go and the output is a lot less pretty.

It supports concurrently downloading posts, and you can set a maximum number of workers that should be downloading at a time.

I made this because I wanted to rewrite one of my previous projects in Go, so I decided to start with this one since it's a pretty small and simple command line tool that encapsulates a lot of concepts in the language (type definition, imports, goroutines, standard libraries, slices, to name a few).

Installing, Building, etc.

See here since it uses the same Makefile.

Example

Here's a situation that uses every flag:

If you wanted to download a maximum of 20 posts with the tag pokemon in random order from e926 to the directory ./posts with a maximum of 2 downloading at a time:

e6dl --tags "pokemon order:random" --out ./posts --limit 20 --concurrents 2 --sfw

Usage

Usage of e6dl:
  --concurrents int
    	Maximum amount of concurrent downloads (default 5)
  --limit int
    	Maximum amount of posts to grab from e621 (default 10)
  --out string
    	The directory to write the downloaded posts to (default "dl")
  --sfw
    	Download posts from e926 instead of e621.
  --tags string
    	Tags to search for