Coder Social home page Coder Social logo

cloudmusicapi's Introduction

CloudMusicApi

网易云音乐API接口获取和分析

csdn地址:

http://blog.csdn.net/qq_31673689/article/details/78615448

通过分析各种页面,发现参数加密方式都是一致的,所以这就很简单了,其它的接口也都出来了。下面做个总结:

1、搜索API:

原来的网页地址: http://music.163.com/#/search/m/?id=28193075&s=%E5%9C%A8%E4%BA%BA%E9%97%B4&type=1

(%E5%9C%A8%E4%BA%BA%E9%97%B4)这个就是我们在搜索框中输入内容

搜索建议: http://music.163.com/weapi/search/suggest/web?csrf_token=

按类型搜索: http://music.163.com/weapi/cloudsearch/get/web?csrf_token=

在原地址上面传递的参数可以分析: type类型的不同,搜索的类型不同 type=1 单曲 type=10 专辑 type=100 歌手 type=1000 歌单 type=1002 用户 type=1004 MV type=1006 歌词 type=1009 主播电台

2、查看粉丝 请求头: Referer:http://music.163.com/user/fans?id=97526496

获取指定用户的粉丝: http://music.163.com/weapi/user/getfolloweds?csrf_token=

3、动态: http://music.163.com/user/event?id=97526496 http://music.163.com/weapi/event/get/97526496?csrf_token=

4、播放 http://music.163.com/weapi/song/enhance/player/url 直接播放地址:id可以改为任何存在的歌曲的ID http://music.163.com/outchain/player?type=2&id=516392300&auto=1&height=66&bg=e8e8e8

5、评论(热门评论和全部评论) 516392300这就是歌曲的id http://music.163.com/weapi/v1/resource/comments/R_SO_4_516392300?csrf_token=1ac15bcb947b3900d9e8e6039d121a81

cloudmusicapi's People

Contributors

michongget avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.