Greasy Fork

4chan Archive Image Downloader

4chan archive thread image downloader for general use across many foolfuuka based imageboards. Downloads all images individually in a thread with original filenames (by default). Optional thread API button, for development purposes.

目前为 2022-02-18 提交的版本。查看 最新版本

作者
ImpatientImport
评分
0 0 0
版本
1.1
创建于
2022-02-18
更新于
2022-02-18
大小
8.0 KB
许可证
Unlicense
适用于

4chan Archive Image Downloader

4chan archive thread image downloader for general use across many foolfuuka based imageboards. Downloads all images individually in a thread with original filenames (by default). Optional thread API button, for development purposes.

4plebs.org example


desuarchive.org example


archive.wakarimasen.moe example




Script should also work with webm files. Also, sort of a disclaimer, but obviously this script will not download any files from links in a post's content other than the media that is or is not included with the post. Foolfuuka based sites were taken from this list. If you would like a foolfuuka based site that is not in the @match section of the metadata block, please create a discussion on the script or email me here: [email protected]. Alternatively, you can also add your foolfuuka based site of choice not on the list in the metadata block in the following format *://site.com/*/thread/*. I made the @match only https for security reasons, but you can change that to a star (*) for all protocols if you prefer that.


User Preferences

User preferences can be altered by changing the boolean values of lines lines 48 to 57.
The API button can be enabled by editing the code in the user preferences section by setting var api_button_enabled to true. You can also change if you want the original filenames from images in this section as well by changing var keep_original_filenames, which is true by default. var confirm_download is true by default; disabling it will make it only require one click to download all the images in a thread, recommended only if confirming downloads errors such as being stuck on "processing".

Addendum

In the future, I may or may not add a button to zip all the images in a thread to this script. Feel free to make a derivative from this script including that functionality if you want to, as the script is practically in the public domain (license).


This script is based off of my previous script, 4plebs Thread Image Downloader. Please note that if you choose to use both of these scripts, it will work better functionally if you edit the code and remove line 4, // @match https://archive.4plebs.org/*/thread/* in this script or choose to disable the other one, as to avoid duplicate buttons appearing. To avoid that confusion, the other script will be unlisted but still available upon this script being published.