diff --git a/hrp/pkg/uixt/video_crawler.go b/hrp/pkg/uixt/video_crawler.go index 51cbcc53..b7ca679e 100644 --- a/hrp/pkg/uixt/video_crawler.go +++ b/hrp/pkg/uixt/video_crawler.go @@ -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) }