bandcamp-scraper
bandcamp-scraper copied to clipboard
getArtistUrls() returns empty array for some labels
Example:
getArtistUrls('http://rufdug.bandcamp.com/', (err, result) => {
assert(result.length === 0) // !!!
})
This label has 16 releases currently. Many other labels I've tried produce the same issue.
I'm using 1.4.1.
Thanks.
If youre interested, I have an alternate package that works:
package main
import "github.com/89z/mech/bandcamp"
func main() {
param, err := bandcamp.New_Params("https://rufdug.bandcamp.com")
if err != nil {
panic(err)
}
band, err := param.Band()
if err != nil {
panic(err)
}
println(len(band.Discography) == 16)
}