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.