Here's something that I wrote quite a while ago (2016 lmao). It's called Bandcamp Advanced Downloading And Sorting Script, or BADASS for short. A lot of Bandcamp artists have full tracks available to be listened to on their album purchase pages, and youtube-dl is capable of downloading these. This is a (honestly pretty slapped together) bash script that takes the artist's discography page as an argument and downloads every track and album that it can find, sorting each into its own folder and keeping track order by placing the track number at the beginning of the filename.
badass.sh
It uses magic numbers to work so if Bandcamp ever changes their page formatting, it has to be repaired by hand. There's probably a better way to do this but it has worked since I made it back in 2016 so I haven't had to fix it yet.