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.0
创建于
2022-02-18
更新于
2022-02-18
大小
7.8 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.

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.


The API button can be enabled by editing the code in the user preferences section in lines 46 to 55 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.



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.