Documentation ¶
Index ¶
- func FindSourceURL(text string) string
- func GetArtworkInfo(sourceURL string) (*types.Artwork, error)
- func GetFileName(artwork *types.Artwork, picture *types.Picture) (string, error)
- func GetPixivRegularURL(original string) string
- func GetSources() map[types.SourceType]types.Source
- func InitSources(service types.Service)
- func MatchesSourceURL(text string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindSourceURL ¶
func GetPixivRegularURL ¶
func GetSources ¶ added in v0.61.0
func GetSources() map[types.SourceType]types.Source
func InitSources ¶
func MatchesSourceURL ¶
MatchesSourceURL returns whether the text contains a source URL.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.