1
0
forked from x/icebergs
icebergs/misc/chrome/video.go
2022-01-02 22:02:44 +08:00

21 lines
455 B
Go

package chrome
import (
"shylinux.com/x/ice"
)
type video struct {
operate
play string `name:"play" help:"播放"`
next string `name:"next" help:"下一集"`
list string `name:"list tags='ul.stui-content__playlist.column10.clearfix li a' rate=1.5 skip=140 next=2520 auto play next" help:"操作"`
}
func (v video) List(m *ice.Message, arg ...string) {
m.DisplayStory("video.js")
m.Echo("hello world")
}
func init() { ice.CodeCtxCmd(video{}) }