Demo entry 6783348

Dance's Downloader

   

Submitted by Dance on Feb 09, 2019 at 22:50
Language: Bash. Code size: 296 Bytes.

#!/usr/bin/env bash
#Dance's Downloader v1.0
#e621 batch downloader script
#requires wget, tr, curl, jq, and xargs; will fail if none are installed

tags=$(tr " " "+" <<<$@)

wget `curl -H "User-Agent: Dance's Downloader" https://e621.net/post/index.json?tags=$tags | jq ".[] | .file-url"`

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).