admin管理员组

文章数量:1656448

找到了很多开放的api, 打算实现部分的网页版qq音乐。

API集合

推荐歌单

https://c.y.qq/musichall/fcgi-bin/fcg_yqqhomepagerecommend.fcg

排行榜

https://c.y.qq/v8/fcg-bin/fcg_v8_toplist_opt.fcg?page=index&format=html&tpl=macv4&v8debug=1

随机推荐

https://c.y.qq/v8/fcg-bin/fcg_v8_toplist_cp.fcg?g_tk=5381&uin=0&format=json&inCharset=utf-8&outCharset=utf-8¬ice=0&platform=h5&needNewCode=1&tpl=3&page=detail&type=top&topid=36&_=1520777874472

推荐音乐

https://c.y.qq/v8/fcg-bin/fcg_v8_toplist_cp.fcg?g_tk=5381&uin=0&format=json&inCharset=utf-8&outCharset=utf-8&notice=0&platform=h5&needNewCode=1&tpl=3&page=detail&type=top&topid=36&_=1520777874472%27

搜索歌曲链接

https://y.qq/n/yqq/song/${song.songid}_num.html#stat=y_new.index.toplist.songname

跨域问题

  1. jsonp
  2. node.js+express+express-http-proxy进行代理
    最后选择这个一个方案吗,感觉这个好用很多,mark一下自己对其中一个api的代理代码
//server.js
const  express 

本文标签: 网页项目音乐vueqq