A (not so) small JS script for batch-downloading posts (images, gifs, videos) from Booru services.
- NodeJS 15+
- Danbooru
- Gelbooru
- Download nodeJS (15+) if you haven't already: https://nodejs.org/en/
- Download and move the
booruloader.mjs
into a folder of your choice - Open the script and set up the config with the required data
- Run the file from the console via
node <filename>.mjs
(e.g.,node booruloader.mjs
) - Weeeeee
- Gelbooru may throw an ECONNRESET or Connection timeout error at your face after the download of a page has finished. This may have to do with an overloaded server on their side, a bad internet connection, an old NodeJS version or the account associated with the Gelbooru credentials being too new. Alter the
START
variable in the config accordingly if you run into such error to avoid having to redownload everything from the beginning for now.
Booruloader is available under the MIT license. See LICENSE for the full license text.