band-spider is a web scraper for bandcamp. It stores information about albums, tracks, their tags, labels, and accounts that purchased them.
Clone the repository and install dependencies:
git clone https://github.com/borbiuk/band-spider.git \
&& cd band-spider \
&& npm i
NOTE: DB will be created automatically
Fill the file accounts.txt
with links to accounts of bandcamp and run:
node run file:accounts
Or fill the file items.txt
with links to albums/tracks of bandcamp and run:
node run file:items
To start process saved accounts:
node run db:accounts
To start process saved albums/tracks:
node run db:items
By default browser will be running in headless
mode, to run a browser with GUI use the debug:
prefix in the command:
node run debug:file:accounts
node run debug:file:items
node run debug:db:accounts
node run debug:db:items
- Item image (The new
image
column initems
table) - Wishlist relation (The new
isWishlist
column initem-to-tag
table) - Account item index (The new
index
column initem-to-account
table) - Labels (New
labels
anditem-to-label
tables)