bandcamp-scraper
bandcamp-scraper copied to clipboard
Request: Add getLabelInfo()
I would love to be able to provide a labelUrl to a function and get info about the label, like its name, bio, links, etc. Any plans to add this @masterT?
Thank you!
https://supervoidrecords.bandcamp.com/
I have an alternate package if youre interested:
package main
import (
"fmt"
"github.com/89z/mech/bandcamp"
)
func main() {
item, err := bandcamp.NewItem("https://supervoidrecords.bandcamp.com")
if err != nil {
panic(err)
}
band, err := item.Band()
if err != nil {
panic(err)
}
fmt.Println(band.Name)
fmt.Println(band.Bio)
fmt.Println(band.Sites)
}
I appreciate the punk nature of that package but I don't think it's a good fit for my purposes here. Thank you though.
What kind of information? @drone1
What kind of information? @drone1
Given a labelUrl, provide a function getLabelInfo() that returns the following info:
- label name
- label bio
- label location
- website URL
- label email address for fans
Thanks!
@drone1 I'm working on a refactor of the package which should implement this.
See
- #63