The original post: /r/datahoarder by /u/bennibeatnik on 2025-01-21 02:47:57.
Im fairly new to gallery-dl for scraping galleries, so if there’s a better way to accomplish this, please let me know.
I got tired of using the command line to scrape galleries so i wrote this script that uses gallery-dl.
At this time it’s only for windows, but i am going to upload a mac version as well in the coming days.
It’s a simple batch file that uses a URL saved in your clipboard and when run, acts on that URL, opens a save dialog box, and prompts for a naming scheme. It then downloads the files to the chosen directory and appends the chosen naming scheme with file numbers. If run again using the same naming scheme and same folder, it checks for the largest number and starts from there.
I set the file to load using a keyboard shortcut and button on my stream deck to make things even easier.
It’s my first attempt at writing code, so it’s definitely not perfect, but I hope some of you find it useful.
If you have any questions, feel free to ask!