feat: get feed video info by funplugin

This commit is contained in:
lilong.129
2023-08-12 23:46:25 +08:00
parent ddabb249e4
commit 1f7af5a767
5 changed files with 197 additions and 120 deletions
+6 -4
View File
@@ -364,12 +364,14 @@ func (dExt *DriverExt) GetScreenResult() (screenResult *ScreenResult, err error)
}
screenResult = &ScreenResult{
Texts: imageResult.OCRResult.ToOCRTexts(),
Tags: nil,
Popularity: Popularity{},
Texts: imageResult.OCRResult.ToOCRTexts(),
Tags: nil,
}
if imageResult.LiveType != "" {
screenResult.Tags = []string{imageResult.LiveType}
screenResult.VideoType = "live"
screenResult.Live = &LiveRoom{
LiveType: imageResult.LiveType,
}
}
dExt.cacheStepData.screenResults[imagePath] = screenResult