Skip to content

Commit

Permalink
[fix] 修复danmaku取值错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
runs committed Jan 14, 2023
1 parent 4c30e31 commit 9857e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/spider/video.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func insertDB(tx *gorm.DB, info *bilibili.VideoInfoResponse, strTag string) erro
Pubdate: uint64(info.Pubdate),
Duration: strconv.Itoa(info.Duration),
View: uint64(info.Stat.View),
Danmaku: uint64(info.Duration),
Danmaku: uint64(info.Stat.Danmaku),
Reply: uint64(info.Stat.Reply),
Favorite: uint64(info.Stat.Favorite),
Coin: uint64(info.Stat.Coin),
Expand Down

0 comments on commit 9857e61

Please sign in to comment.