Skip to content

Commit

Permalink
fix download quality selection
Browse files Browse the repository at this point in the history
  • Loading branch information
nondanee committed May 7, 2019
1 parent 9546a63 commit 4b75420
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,15 @@ const pretendPlay = ctx => {
let query = null
if(netease.linux){
netease.param = {
ids: '["' + netease.param.id + '"]',
br: '320000'
ids: `["${netease.param.id}"]`,
br: netease.param.br
}
query = crypto.linuxapi.encryptRequest(turn, netease.param)
}
else{
netease.param = {
ids: '["' + netease.param.id + '"]',
br: '320000',
ids: `["${netease.param.id}"]`,
br: netease.param.br,
e_r: netease.param.e_r,
header: netease.param.header
}
Expand Down

0 comments on commit 4b75420

Please sign in to comment.