Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DanmakuXML ¶
DnamakuXML returns the danmaku's XML file
Types ¶
type Danmaku ¶
type Danmaku struct {
StartTime float32 `json:"startTime"`
Mode DmkMode `json:"mode"`
FontSize int `json:"fontSize"`
Color string `json:"color"`
Timestamp int64 `json:"timestamp"`
Pool DmkPool `json:"pool"`
Sender string `json:"sender"`
RowID int64 `json:"rowId"`
Body string `json:"body"`
}
Danmaku ...
func DanmakuList ¶
type DanmakuInfo ¶
type DanmakuInfo struct {
Page int `json:"page"`
Name string `json:"pagename"`
ID int64 `json:"cid"`
}
func VideoDanmakuInfos ¶
func VideoDanmakuInfos(vid string) (infos []DanmakuInfo, err error)
GetDanmakus returns the danmaku's ID of video vid is case sensitive!!!
type Stat ¶
type Stat struct {
Aid int64 `json:"aid"`
BV string `json:"bvid"`
View int64 `json:"view"`
Danmaku int64 `json:"danmaku"`
Reply int64 `json:"reply"`
Favorite int64 `json:"favorite"`
Coin int64 `json:"coin"`
Like int64 `json:"like"`
NowRank int `json:"now_rank"`
HisRank int `json:"his_rank"`
NoReprint int `json:"no_reprint"`
Copyright int `json:"copyright"`
Argue string `json:"argue_msg"`
Evaluation string `json:"evaluation"`
}
Stat for bilibili video
Click to show internal directories.
Click to hide internal directories.