Skip to content

Commit

Permalink
"fix(extractors/qq): Change CDN selection"
Browse files Browse the repository at this point in the history
  • Loading branch information
Half9000 committed Jul 17, 2020
1 parent 44319a9 commit 822bd76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extractors/qq/qq.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (e *extractor) Extract(url string, option types.Options) ([]*types.Data, er
if data.Msg != "" {
return nil, errors.New(data.Msg)
}
cdn := data.Vl.Vi[0].Ul.UI[len(data.Vl.Vi[0].Ul.UI)-1].URL
cdn := data.Vl.Vi[0].Ul.UI[0].URL
streams, err := genStreams(vid, cdn, data)
if err != nil {
return nil, err
Expand Down

0 comments on commit 822bd76

Please sign in to comment.