1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
icebergs/misc/chrome/video.go
2022-12-14 13:41:49 +08:00

22 lines
503 B
Go

package chrome
import (
"shylinux.com/x/ice"
"shylinux.com/x/icebergs/base/ctx"
)
type video struct {
daemon
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) {
ctx.DisplayStory(m.Message, "video.js")
m.Echo("hello world")
}
func init() { ice.CodeCtxCmd(video{}) }