cover

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DouBancoverSearchUrl = `https://movie.douban.com/j/subject_suggest?q=%s`
	DouBancoverXpathExp  = `` /* 174-byte string literal not displayed */
	BangumiImageUrl      = "http://api.bgm.tv/v0/subjects/%d/image?type=%s"
)
View Source
const (
	Small  = "small"
	Grid   = "grid"
	Large  = "large"
	Medium = "medium"
	Common = "common"
)

Variables

View Source
var DOUBANCoverScraper = TouchCoverImg

Functions

func Bgmimage

func Bgmimage(subjid int, typ, filepath string) (err error)

func TouchCoverImg

func TouchCoverImg(fpath, cover string) (err error)

func TouchbgmCoverImg

func TouchbgmCoverImg(id int, filepath string) error

TouchbgmCoverImg shorthand for Bgmimage(id,"large",filepath)

Types

This section is empty.

Jump to

Keyboard shortcuts

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