Red 40

e6* downloader without a memory leak

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
1fz54ARh0m8g0KUYzqui
今日安裝
0
安裝總數
3
評價
0 0 0
版本
3.0
建立日期
2025-09-24
更新日期
2025-09-24
尺寸
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