Bandcamp Crawler avatar
Bandcamp Crawler
Try for free

3 days trial then $35.00/month - No credit card required now

View all Actors
Bandcamp Crawler

Bandcamp Crawler

service-paradis/bandcamp-crawler
Try for free

3 days trial then $35.00/month - No credit card required now

The Bandcamp.com crawler is a web scraping tool that allows you to extract data from the Bandcamp music platform. With this crawler, you can get information about albums, tracks, and much more. The crawler is built on top of Apify SDK, and you can run it both on the Apify platform and locally.

Bandcamp.com Crawler

The Bandcamp.com crawler is a web scraping tool that allows you to extract data from the Bandcamp music platform. With this crawler, you can get information about albums, tracks, and much more. The crawler is built on top of Apify SDK, and you can run it both on the Apify platform and locally.

Features

  • Scrape data from search pages, albums and tracks on Bandcamp.com.
  • Get information about an artist's discography, including album titles, tags, and tracklists.
  • Collect information about tracks, including the title, length, and position.

How to use the Bandcamp.com crawler

The Bandcamp.com crawler is straightforward to use and doesn't require any coding skills to start using it. Here are the steps to get started:

  1. Set up an Apify account if you don't have one already.
  2. Create a new task and select the Bandcamp.com crawler.
  3. Choose the parameters you want to scrape.
  4. Run the task and download the results.

Input parameters

The following table lists the input parameters for this scraper:

  • startUrls (Array): URLs to fetch data from.
  • maxPagesToSearch (Integer): When the starting URL is a search page, this parameter will define how many pages to crawl. Default value is 6.
  • fetchAlbumsFromSearch (Boolean): Will fetch album details found in the search pages and store them as individual items when activated. Default value is false.
  • fetchTracksFromSearch (Boolean): Will fetch track details found in the search pages and store them as individual items when activated. Default value is false.
  • fetchTracksFromAlbum (Boolean): Will fetch track details found in the album pages and store them as individual items when activated. Default value is false.
  • fetchAlbumFromTrack (Boolean): Will fetch album details found in the track pages and store them as individual items when activated. Default value is false.
  • proxy (Object): Proxy configuration. You can edit this to use Apify proxy, or provide your own proxy servers. Default value is { "useApifyProxy": false }.
  • debug (Boolean): See detailed logs when activated. Default value is false.

Input examples

Here are the supported URL type:

This is an example of how your input will look like if you decide to scrape 2 pages from a search URL and fetching every albums and tracks found:

1{
2  "startUrls": [
3    "https://bandcamp.com/search?q=five+finger+death+punch&page=1"
4  ],
5  "maxPagesToSearch": 2,
6  "fetchAlbumsFromSearch": true,
7  "fetchTracksFromSearch": true,
8  "fetchTracksFromAlbum": false,
9  "fetchAlbumFromTrack": false,
10  "proxy": {
11    "useApifyProxy": false
12  },
13  "debug": false
14}

Results example

The output from scraping Bandcamp is stored in the dataset. Each search page, album or track is stored as an item inside the dataset. After the run is finished, you can download the scraped data onto your computer or export to any web app in various data formats (JSON, CSV, XML, RSS, HTML Table). Here's a few examples of the outputs you can get for different types of inputs:

Search result

1{
2 "dataType": "search",
3 "pagination": {
4  "page": 1,
5  "pages": 4,
6  "urls": {
7   "first": "https://bandcamp.com/search?q=five+finger+death+punch&page=1",
8   "last": "https://bandcamp.com/search?page=4&q=five%20finger%20death%20punch",
9   "next": "https://bandcamp.com/search?page=2&q=five%20finger%20death%20punch"
10  }
11 },
12 "results": [
13  {
14   "dataType": "artist",
15   "title": "Five Finger Death Punch",
16   "url": "https://fivefingerdeathpunch.bandcamp.com?from=search&search_item_id=3335222211&search_item_type=b&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=1&search_sig=c7911448b1e616c16be10b29ef0bafba",
17   "image": {
18    "url": "https://f4.bcbits.com/img/0027318719_23.jpg"
19   }
20  },
21  {
22   "dataType": "album",
23   "title": "AfterLife",
24   "url": "https://fivefingerdeathpunch.bandcamp.com/album/afterlife?from=search&search_item_id=730568840&search_item_type=a&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=2&search_sig=3a134a4b690ce50ecc09185f5021f7fc",
25   "image": {
26    "url": "https://f4.bcbits.com/img/a3711245885_7.jpg"
27   }
28  },
29  {
30   "dataType": "album",
31   "title": "F8",
32   "url": "https://fivefingerdeathpunch.bandcamp.com/album/f8?from=search&search_item_id=1517960920&search_item_type=a&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=3&search_sig=9ac9c83b9a512bf9efb0a19ca5cc5e52",
33   "image": {
34    "url": "https://f4.bcbits.com/img/a1228029165_7.jpg"
35   }
36  },
37  {
38   "dataType": "album",
39   "title": "Five Finger Death Punch - Under And Over It (Psyfonic Remix)",
40   "url": "https://sundepartmentrecords.bandcamp.com/album/five-finger-death-punch-under-and-over-it-psyfonic-remix?from=search&search_item_id=3957120201&search_item_type=a&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=4&search_sig=a5758aeb8bd38946c42dc87d9d76c8cb",
41   "image": {
42    "url": "https://f4.bcbits.com/img/a1812136479_7.jpg"
43   }
44  },
45  {
46   "dataType": "track",
47   "title": "Five Finger Death Punch - Far From Home (dj genesis remix)",
48   "url": "https://djgenesis.bandcamp.com/track/five-finger-death-punch-far-from-home-dj-genesis-remix?from=search&search_item_id=3079992419&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=5&search_sig=b17fd2515dd478c36daafdfc3d217635",
49   "image": {
50    "url": "https://f4.bcbits.com/img/a1014191913_7.jpg"
51   }
52  },
53  {
54   "dataType": "track",
55   "title": "The Bleeding (Five Finger Death Punch)",
56   "url": "https://soundblade.bandcamp.com/track/the-bleeding-five-finger-death-punch?from=search&search_item_id=2917400532&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=6&search_sig=2bf31006cbbb413563a224286dabcf55",
57   "image": {
58    "url": "https://f4.bcbits.com/img/a0104106560_7.jpg"
59   }
60  },
61  {
62   "dataType": "track",
63   "title": "Five Finger Death Punch - Under And Over It (Psyfonic Remix)",
64   "url": "https://sundepartmentrecords.bandcamp.com/track/five-finger-death-punch-under-and-over-it-psyfonic-remix?from=search&search_item_id=733570244&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=7&search_sig=412e4982a8496f692e58b38c7fc30292",
65   "image": {
66    "url": "https://f4.bcbits.com/img/a1812136479_7.jpg"
67   }
68  },
69  {
70   "dataType": "track",
71   "title": "Five Finger Death Punch",
72   "url": "https://losgoldfires.bandcamp.com/track/five-finger-death-punch?from=search&search_item_id=1680490536&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=8&search_sig=70e39ae180daf42b172b65c0684e71b3",
73   "image": {
74    "url": "https://f4.bcbits.com/img/a0560304956_7.jpg"
75   }
76  },
77  {
78   "dataType": "track",
79   "title": "Five Finger Death Punch - House of the rising sun",
80   "url": "https://juancardoni.bandcamp.com/track/five-finger-death-punch-house-of-the-rising-sun?from=search&search_item_id=650406241&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=9&search_sig=efb9b95986b1992c7f355ed8aee556cd",
81   "image": {
82    "url": "https://f4.bcbits.com/img/a3085939771_7.jpg"
83   }
84  },
85  {
86   "dataType": "track",
87   "title": "Five Finger Death Punch - The Bleeding (Vocal Cover)",
88   "url": "https://alonsoramirez.bandcamp.com/track/five-finger-death-punch-the-bleeding-vocal-cover?from=search&search_item_id=2478235599&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=10&search_sig=a77ad3f7eca7ffca2a3fe5d9e79690ff",
89   "image": {
90    "url": "https://f4.bcbits.com/img/a1362250685_7.jpg"
91   }
92  },
93  {
94   "dataType": "track",
95   "title": "IOU",
96   "url": "https://fivefingerdeathpunch.bandcamp.com/track/iou?from=search&search_item_id=198017150&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=11&search_sig=ecea75ea45db7cdeb12687f4d2bab5f4",
97   "image": {
98    "url": "https://f4.bcbits.com/img/a3711245885_7.jpg"
99   }
100  },
101  {
102   "dataType": "track",
103   "title": "Gone Away {Five Finger Death Punch} Cover",
104   "url": "https://kevinaskew1.bandcamp.com/track/gone-away-five-finger-death-punch-cover?from=search&search_item_id=42115164&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=12&search_sig=12d52c01b56ac57bf913bfa38e8fead8",
105   "image": {
106    "url": "https://f4.bcbits.com/img/a0919171835_7.jpg"
107   }
108  },
109  {
110   "dataType": "track",
111   "title": "Five Finger Death Punch \"Under And Over It\" [KRADDY Remix]",
112   "url": "https://kraddy.bandcamp.com/track/five-finger-death-punch-under-and-over-it-kraddy-remix?from=search&search_item_id=1090837093&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=13&search_sig=77e291f670e2dc079d15f3ce150d1fd3",
113   "image": {
114    "url": "https://f4.bcbits.com/img/a4153950494_7.jpg"
115   }
116  },
117  {
118   "dataType": "track",
119   "title": "Gone Away {Five Finger Death Punch Vocal Cover}",
120   "url": "https://kevinaskew1.bandcamp.com/track/gone-away-five-finger-death-punch-vocal-cover?from=search&search_item_id=3696082903&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=14&search_sig=666fd185109692abced37106756119bf",
121   "image": {
122    "url": "https://f4.bcbits.com/img/a2171177923_7.jpg"
123   }
124  },
125  {
126   "dataType": "track",
127   "title": "Inside Out",
128   "url": "https://fivefingerdeathpunch.bandcamp.com/track/inside-out-1?from=search&search_item_id=3043631498&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=15&search_sig=06b3406626b89402385e46000d6f308e",
129   "image": {
130    "url": "https://f4.bcbits.com/img/a1228029165_7.jpg"
131   }
132  },
133  {
134   "dataType": "track",
135   "title": "five finger death punch",
136   "url": "https://remembertheotherguys.bandcamp.com/track/five-finger-death-punch?from=search&search_item_id=1328802397&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=16&search_sig=b01fde72732fc157ff7042c22095e00c",
137   "image": {
138    "url": "https://f4.bcbits.com/img/a2434658354_7.jpg"
139   }
140  },
141  {
142   "dataType": "track",
143   "title": "Five Finger Death Punch - The Devil's Own (Vocal Cover)",
144   "url": "https://alonsoramirez.bandcamp.com/track/five-finger-death-punch-the-devils-own-vocal-cover?from=search&search_item_id=2432160278&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=17&search_sig=a8fdf34636fa2962a6d8321e7a43dcc1",
145   "image": {
146    "url": "https://f4.bcbits.com/img/a4056769363_7.jpg"
147   }
148  },
149  {
150   "dataType": "track",
151   "title": "Five Finger Death Punch- Wrong Side Of Heaven (Krooked Drivers Remix)",
152   "url": "https://krookeddrivers.bandcamp.com/track/five-finger-death-punch-wrong-side-of-heaven-krooked-drivers-remix?from=search&search_item_id=2125398159&search_item_type=t&search_match_part=%3F&search_page_id=2567301701&search_page_no=1&search_rank=18&search_sig=12d8debf061c41b356ac27d0c3e317ba",
153   "image": {
154    "url": "https://f4.bcbits.com/img/a0716123876_7.jpg"
155   }
156  }
157 ]
158}

Album result

1{
2 "dataType": "album",
3 "title": "N.A.T.I.O.N.",
4 "url": "https://badwolves.bandcamp.com/album/n-a-t-i-o-n",
5 "artist": {
6  "name": "Bad Wolves",
7  "url": "https://badwolves.bandcamp.com"
8 },
9 "tags": [
10  {
11   "title": "metal",
12   "url": "https://bandcamp.com/tag/metal?from=tralbum&artist=924521020"
13  },
14  {
15   "title": "rock",
16   "url": "https://bandcamp.com/tag/rock?from=tralbum&artist=924521020"
17  },
18  {
19   "title": "Los Angeles",
20   "url": "https://bandcamp.com/tag/los-angeles?from=tralbum&artist=924521020"
21  }
22 ],
23 "tracklist": [
24  {
25   "title": "I'll Be There",
26   "url": "https://badwolves.bandcamp.com/track/ill-be-there-1",
27   "position": 1,
28   "duration": "04:02"
29  },
30  {
31   "title": "No Messiah",
32   "url": "https://badwolves.bandcamp.com/track/no-messiah",
33   "position": 2,
34   "duration": "04:20"
35  },
36  {
37   "title": "Learn To Walk Again",
38   "url": "https://badwolves.bandcamp.com/track/learn-to-walk-again",
39   "position": 3,
40   "duration": "02:47"
41  },
42  {
43   "title": "Killing Me Slowly",
44   "url": "https://badwolves.bandcamp.com/track/killing-me-slowly-1",
45   "position": 4,
46   "duration": "03:57"
47  },
48  {
49   "title": "Better Off This Way",
50   "url": "https://badwolves.bandcamp.com/track/better-off-this-way",
51   "position": 5,
52   "duration": "03:22"
53  },
54  {
55   "title": "Foe Or Friend",
56   "url": "https://badwolves.bandcamp.com/track/foe-or-friend",
57   "position": 6,
58   "duration": "03:26"
59  },
60  {
61   "title": "Sober",
62   "url": "https://badwolves.bandcamp.com/track/sober-1",
63   "position": 7,
64   "duration": "03:15"
65  },
66  {
67   "title": "Back In The Days",
68   "url": "https://badwolves.bandcamp.com/track/back-in-the-days",
69   "position": 8,
70   "duration": "03:43"
71  },
72  {
73   "title": "The Consumerist",
74   "url": "https://badwolves.bandcamp.com/track/the-consumerist",
75   "position": 9,
76   "duration": "03:29"
77  },
78  {
79   "title": "Heaven So Heartless",
80   "url": "https://badwolves.bandcamp.com/track/heaven-so-heartless",
81   "position": 10,
82   "duration": "03:35"
83  },
84  {
85   "title": "Crying Game",
86   "url": "https://badwolves.bandcamp.com/track/crying-game-1",
87   "position": 11,
88   "duration": "03:11"
89  },
90  {
91   "title": "LA Song",
92   "url": "https://badwolves.bandcamp.com/track/la-song",
93   "position": 12,
94   "duration": "03:33"
95  }
96 ],
97 "images": [
98  {
99   "url": "https://f4.bcbits.com/img/a0888598634_16.jpg"
100  },
101  {
102   "url": "https://f4.bcbits.com/img/a0888598634_10.jpg"
103  }
104 ]
105}

Track result

1{
2 "dataType": "track",
3 "title": "In The Dark",
4 "url": "https://inflamesofficial.bandcamp.com/track/in-the-dark",
5 "album": {
6  "title": "Foregone",
7  "url": "https://inflamesofficial.bandcamp.com/album/foregone"
8 },
9 "artist": {
10  "name": "In Flames",
11  "url": "https://inflamesofficial.bandcamp.com"
12 },
13 "duration": "04:17",
14 "position": 9
15}
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 91.2% runs succeeded
  • 0.0 days response time
  • Created in Apr 2023
  • Modified 12 months ago