mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-06 07:57:27 +08:00
change: print logs
This commit is contained in:
@@ -360,8 +360,10 @@ func (dExt *DriverExt) VideoCrawler(configs *VideoCrawlerConfigs) (err error) {
|
|||||||
crawler.exitLiveRoom()
|
crawler.exitLiveRoom()
|
||||||
|
|
||||||
case VideoType_Image:
|
case VideoType_Image:
|
||||||
// TODO: 图文
|
// 图文
|
||||||
log.Info().Msg("get image video")
|
log.Info().
|
||||||
|
Interface("feed", screenResult.Video).
|
||||||
|
Msg("found image success")
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// 点播
|
// 点播
|
||||||
@@ -440,8 +442,8 @@ type Video struct {
|
|||||||
// 视频热度数据
|
// 视频热度数据
|
||||||
AudienceCount int64 `json:"audience_count,omitempty"` // 直播间人数
|
AudienceCount int64 `json:"audience_count,omitempty"` // 直播间人数
|
||||||
|
|
||||||
// Image
|
// 图文数据
|
||||||
// ImageURLs []string
|
ImageUrls []string `json:"image_urls,omitempty"` // 图片对应的 url 列表
|
||||||
|
|
||||||
// 记录仿真决策信息
|
// 记录仿真决策信息
|
||||||
PlayDuration int64 `json:"play_duration"` // 播放时长(ms),取自 Simulation/Random
|
PlayDuration int64 `json:"play_duration"` // 播放时长(ms),取自 Simulation/Random
|
||||||
|
|||||||
Reference in New Issue
Block a user