Fixed video bitrate is not the max bitrate.
This commit is contained in:
parent
abc2678351
commit
36703ac923
1 changed files with 1 additions and 0 deletions
|
|
@ -203,6 +203,7 @@ func (timeline *timeline) parseTweet(id string) *Tweet {
|
|||
for _, variant := range media.VideoInfo.Variants {
|
||||
if variant.Bitrate > maxBitrate {
|
||||
video.URL = strings.TrimSuffix(variant.URL, "?tag=10")
|
||||
maxBitrate = variant.Bitrate
|
||||
}
|
||||
}
|
||||
tw.Videos = append(tw.Videos, video)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue