metalarchives

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: 13 Imported by: 0

Documentation

Overview

Package metalarchives extracts information from metal-archives.com 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 the Metal Archives.

There's apparently no API: https://forum.metal-archives.com/viewtopic.php?f=3&t=111208

func (*Provider) ExampleURL

func (p *Provider) ExampleURL() string

func (*Provider) MakeEdits

func (p *Provider) MakeEdits(ctx context.Context, pageURL string, db *mbdb.DB, cfg *internal.Config) (
	[]seed.Edit, error)

MakeEdits generates a seed.Artist edit from the supplied Metal Archives URL.

func (*Provider) SupportsHostname

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