sources

package
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindSourceURL

func FindSourceURL(text string) string

func GetArtworkInfo

func GetArtworkInfo(sourceURL string) (*types.Artwork, error)

func GetFileName

func GetFileName(artwork *types.Artwork, picture *types.Picture) (string, error)

func GetPixivRegularURL

func GetPixivRegularURL(original string) string

func GetSources added in v0.61.0

func GetSources() map[types.SourceType]types.Source

func InitSources

func InitSources(service types.Service)

func MatchesSourceURL

func MatchesSourceURL(text string) bool

MatchesSourceURL returns whether the text contains a source URL.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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