bandcamp

package
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

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 (p *Provider) ExampleURL() string

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.

func (*Provider) SupportsHostname added in v0.1.8

func (p *Provider) SupportsHostname(ctx context.Context, hn string, cfg *internal.Config) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL