Red 40

e6* downloader without a memory leak

ئاپتورى
1fz54ARh0m8g0KUYzqui
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
0
باھا نومۇرى
0 0 0
نەشرى
3.0
قۇرۇلغان ۋاقتى
2025-09-24
يېڭىلانغان ۋاقتى
2025-09-24
Size
9.8 KB
ئىجازەتنامىسى
Unlicense
قوللايدىغىنى

Red 40

An e6* downloader without a memory leak!

Usage

  1. Install script for Violentmonkey or TamperMonkey. (FireMonkey and GreaseMonkey currently don't work)
  2. Visit e621, e6ai or e926.
  3. Two buttons should appear in the secondary menu.


Configuration

Configuration is done by setting values in the script storage. Below are the values and their types.

NameTypeDescription
clientNamestringReplaces the client name sent
maximumAttemptsnumberMaximum times a resource is fetched before giving up
rememberHashesbooleanWhether to save the hashes from the download list
userAgentCompliantbooleanWhether to send the client name


Manipulating downloaded metadata

Red 40 doesn't save the metadata retrieved after downloading it. To manipulate downloaded JSON data, jq is recommended.

Below are some examples for common tasks using jq on a Unix-like machine.

Searching for posts within an ID range

jq '.[] | select(.id >= 0 and .id < 2000000)' download.json

Searching for posts by extension

jq '.[] | select(.extension == "jpg" or .extension == "png")' download.json

Searching for posts by tags

jq '.[] | select(.tags | contains(["male", "2019", "webm"]))' download.json

Searching multiple files for posts by tags

jq -s 'add | unique_by(.id) | select(.tags | contains(["female", "2020"]))' download1.json download2.json download3.json