-
Notifications
You must be signed in to change notification settings - Fork 118
Description
Is your feature request related to a problem? Please describe.
When downloading multiple albums from an artist that has albums with the same title (such as Untitled for a lost of artists), the albums will be treated as the same and result in errors.
Describe the solution you'd like
Add a way to add the item_id to template, as it's unique and would fix the problem, the item_id can be found at the top of the page's source code, it should look like this <meta name="bc-page-properties" content="{"item_type":"a","item_id":2047194236,"tralbum_page_version":0}">.
Describe alternatives you've considered
What I thought of doing and will be doing until (or if ever) the item_id is added, is adding the last part of the album's URL to the folder name, it looks ugly and is redundant most of the time, but it should work.
Additional context
I'm using some scripts to download an entire artists discog with bandcamp-dl, they can be found in the following links:
https://ghostbin.lain.la/paste/uej5d <- python script to wait and rerun the bash if it returns an error
https://ghostbin.lain.la/paste/6ykzs <- bash to download every album in a given list of urls bandcamp-dump.lst