Skip to content

Commit

Permalink
provider/qq: drop searchid
Browse files Browse the repository at this point in the history
The argument is not necessary and causes some issues,
so let's simply drop it.

Fixes: #612.
  • Loading branch information
1715173329 committed Sep 21, 2020
1 parent 1193e29 commit e559859
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/provider/qq.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const search = info => {
const url =
'https://c.y.qq.com/soso/fcgi-bin/client_search_cp?' +
'ct=24&qqmusic_ver=1298&new_json=1&remoteplace=txt.yqq.center&' +
'searchid=46804741196796149&t=0&aggr=1&cr=1&catZhida=1&lossless=0&' +
'flag_qc=0&p=1&n=20&w=' + encodeURIComponent(info.keyword) + '&' +
't=0&aggr=1&cr=1&catZhida=1&lossless=0&flag_qc=0&p=1&n=20&w=' +
encodeURIComponent(info.keyword) + '&' +
'g_tk=5381&jsonpCallback=MusicJsonCallback10005317669353331&loginUin=0&hostUin=0&' +
'format=jsonp&inCharset=utf8&outCharset=utf-8&notice=0&platform=yqq&needNewCode=0'

Expand Down Expand Up @@ -150,4 +150,4 @@ const track = id => {

const check = info => cache(search, info).then(track)

module.exports = {check, track}
module.exports = {check, track}

0 comments on commit e559859

Please sign in to comment.