bandcamp-scraper icon indicating copy to clipboard operation
bandcamp-scraper copied to clipboard

getArtistUrls() returns empty array for some labels

Open drone1 opened this issue 2 years ago • 1 comments

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.

drone1 avatar Jul 25 '22 15:07 drone1

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)
}

89z avatar Jul 25 '22 16:07 89z