How to use:
- Download nodeJS (15+) if you haven't already: https://nodejs.org/en/
- Download and move the
booruloader.mjs
into a folder of choice - Add corresponding booru credentials to the config inside the script
- Run the file from the console via
node <filename>.mjs
(e.g.,node booruloader.mjs
) - Wait until the script tells you that its done
Changes from previous version:
- Fixed faulty asynchronous download that would rush to the next page before all images of the previous page had finished downloading
- Improved config & added validation
- Changed require statements to nodejs imports (.js -> .mjs)
- Script now utilizes the built-in async sleep function (requires Node 15+)
Currently available services:
- Danbooru
- Gelbooru
Planned features:
- More services (Safebooru, etc.)
- Further QOL stuff
Known bugs:
- Gelbooru may throw an ECONNRESET or connection timeout error after the download of a page has finished. The issue is being investigated, for the moment just pick up where you have left by altering the START variable.