Red 40

e6* downloader without a memory leak

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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