iheanyi / bandcamp-dl

Simple python script to download Bandcamp albums

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download full wishlist

themr0c opened this issue · comments

It would be nice to have an option to download all albums in a wishlist for a given user.

Given you provide the fan id as $FAN_ID, this is how you can get the album list:

curl --silent \
  --header "Content-Type: application/json" \
  --request POST \
  --data '{"fan_id":$FAN_ID,"older_than_token":"1663099693:242426114:a::","count":2000}' \
  https://bandcamp.com/api/fancollection/1/wishlist_items |
  jq '.items[].item_url' | tr -d \")