Giter Site home page Giter Site logo

crawling-wangyiyun-music's Introduction

爬取网易云音乐 注意这里不包含哪些收费的音乐(下次再研究)

download_music_list 下载的是列表音乐

这里粗略的讲解一下歌曲的url是如何获取的 Image text 由上图可见 是通过该地址http://music.163.com/weapi/song/enhance/player/url?csrf_token=请求的mp3地址的 Image text 这里可以看到我们获取的 mp3 url 的url是通过post参数(传过去的params和encSecKet)获取而来的 如何造出params和encSecKey 可以参考 https://www.zhanghuanglong.com/detail/csharp-version-of-netease-cloud-music-api-analysis-(with-source-code)

在coding中遇到了一些坑 我也在代码中备注了 可以参考一下

其中在获取song?id的获取中我使用postman 获取链接之后不会发生跳转 html标签获取起来也更加方便 Image text

可以做成exe格式,之后输入所要下载的歌单的URL即可 我这里就使用固定的url测试了

Image text

效果图:

Image text Image text

download_music_Single 下载单曲音乐

输入所要下载的歌单的URL即可

crawling-wangyiyun-music's People

Contributors

onestepandtwosteps avatar

Watchers

 avatar

Forkers

bunnyteng

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.