Documentation ¶
Index ¶
- type BilibiliVideo
- func (b *BilibiliVideo) GetMediaUrl(meta miaosic.MetaData, quality miaosic.Quality) ([]miaosic.MediaUrl, error)
- func (b *BilibiliVideo) GetName() string
- func (n *BilibiliVideo) GetPlaylist(meta miaosic.MetaData) (*miaosic.Playlist, error)
- func (b *BilibiliVideo) MatchMedia(keyword string) (miaosic.MetaData, bool)
- func (n *BilibiliVideo) MatchPlaylist(uri string) (miaosic.MetaData, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BilibiliVideo ¶
type BilibiliVideo struct { providers.DeepcolorProvider BVRegex *regexp.Regexp IdRegex *regexp.Regexp PageRegex *regexp.Regexp // contains filtered or unexported fields }
func NewBilibiliViedo ¶
func NewBilibiliViedo() *BilibiliVideo
func (*BilibiliVideo) GetMediaUrl ¶
func (*BilibiliVideo) GetName ¶
func (b *BilibiliVideo) GetName() string
func (*BilibiliVideo) GetPlaylist ¶ added in v0.1.5
func (*BilibiliVideo) MatchMedia ¶
func (b *BilibiliVideo) MatchMedia(keyword string) (miaosic.MetaData, bool)
func (*BilibiliVideo) MatchPlaylist ¶ added in v0.1.5
func (n *BilibiliVideo) MatchPlaylist(uri string) (miaosic.MetaData, bool)
Click to show internal directories.
Click to hide internal directories.