qobuz

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package qobuz extracts information from Qobuz 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 Qobuz.

func (*Provider) CleanURL

func (p *Provider) CleanURL(orig string) (string, error)

CleanURL returns a cleaned version of a Qobuz URL like "https://www.qobuz.com/gb-en/album/album-name/album-id".

func (*Provider) ExampleURL

func (p *Provider) ExampleURL() string

func (*Provider) NeedsPage

func (p *Provider) NeedsPage() bool

func (*Provider) Release

func (p *Provider) Release(ctx context.Context, page *web.Page, pageURL string,
	db *mbdb.DB, cfg *internal.Config) (rel *seed.Release, img *seed.Info, err error)

Release extracts release information from the supplied Qobuz page.

Jump to

Keyboard shortcuts

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