mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
change: update logs
This commit is contained in:
@@ -322,13 +322,6 @@ func (dExt *DriverExt) VideoCrawler(configs *VideoCrawlerConfigs) (err error) {
|
||||
|
||||
default:
|
||||
// 点播 || 图文 || 广告 || etc.
|
||||
// check feed type and incr feed count
|
||||
crawler.FeedCount++
|
||||
log.Info().
|
||||
Strs("tags", screenResult.Tags).
|
||||
Interface("feed", screenResult.Video).
|
||||
Msg("found feed success")
|
||||
|
||||
// get simulation play duration
|
||||
if screenResult.Video.SimulationPlayDuration != 0 {
|
||||
screenResult.Video.PlayDuration = screenResult.Video.SimulationPlayDuration
|
||||
@@ -337,6 +330,11 @@ func (dExt *DriverExt) VideoCrawler(configs *VideoCrawlerConfigs) (err error) {
|
||||
screenResult.Video.PlayDuration = screenResult.Video.RandomPlayDuration
|
||||
}
|
||||
|
||||
crawler.FeedCount++
|
||||
log.Info().Interface("feed", screenResult.Video).
|
||||
Strs("tags", screenResult.Tags).
|
||||
Msg("found feed success")
|
||||
|
||||
// simulation watch feed video
|
||||
sleepStrict(swipeFinishTime, screenResult.Video.PlayDuration)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user