Documentation ¶
Overview ¶
Package bandcamp extracts information from Bandcamp pages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct{}
Provider implements internal.Provider for Bandcamp.
func (*Provider) ExampleURL ¶
func (*Provider) MakeEdits ¶ added in v0.1.8
func (p *Provider) MakeEdits(ctx context.Context, pageURL string, db *mbdb.DB, cfg *internal.Config) ( []seed.Edit, error)
MakeEdits generates a seed.Release edit from the supplied Bandcamp page. This is heavily based on the bandcamp_importer.user.js userscript: https://github.com/murdos/musicbrainz-userscripts/blob/master/bandcamp_importer.user.js A seed.Info object is also returned for the full-resolution cover image.
Click to show internal directories.
Click to hide internal directories.