Giter Club home page Giter Club logo

163musicspider's Introduction

163MusicSpider

This tiny program enables you to download your favorite 163 music playlists. To achieve this goal, following the steps as follow:

  1. Go get the id of your 163 playlist. to get it open the page of the playlist in a browser then copy the numbers behind "music.163.com/#/playlist?id=" in address bar.
  2. Download the python script to your computer and make sure there are python installed.
  3. Run the script by double clicking it. Be careful. You just need to run the script whose name is matched with your local Python version.
  4. Open the .txt file right next to the scirpt and select all then copy. Note: the API 163 provided only enable me to retrive 1000 songs in your playlist.

网易云音乐Spider

程序旨在帮助你爬取到,网易云上你喜欢的歌单的所有的歌曲信息。 步骤如下:

  1. 在浏览器打开你的网易云歌单,复制你的歌单网址中,位于 "music.163.com/#/playlist?id=" 后方的数字。
  2. 下载本脚本,并且确保本地机器已安装Python
  3. 双击脚本,运行脚本。你只需要运行和你的本地Python版本一样的脚本即可。
  4. 歌单保存到本地的.txt文件中。 注意:网易云音乐歌单只允许加载1000首歌曲。

其他教程

如何将spotify歌单导入网易云音乐?

关于这一点,虽然网上已经有不少方法,但是大多还需要自己手动更改不少东西,总体来说十分麻烦。之前在简书上找到的方法也已经失效了。但原理一般都是利用网易提供的导入酷狗歌单(.KGL)文件进行导入,依葫芦画瓢,写了个很小的程序,具体的操作如下:

步骤
  1. 进入这个页面,以.csv格式导出你需要导入到网易云音乐的歌单。
  2. 这里下载csvToKgl.py文件,请确保电脑上已经正确安装Python。随后,将文件中的directory变量改为你存放.csv的目录。
  3. 运行csvToKgl.py,得到所有的.kgl文件。
  4. 进入导入酷狗歌单页面依次上传.kgl文件。
优点
  • 可以同时转换多个歌单
可能遇到的问题
  • 当歌单中存在过多网易未收录的歌曲,可能会导致上传失败。

如何将网易云音乐歌单导入spotify?

网上似乎没有太多关于这个需求的解决方法啊,我找到的唯一一个是利用网易提供的 API 得到歌单列表的JSON文件,再使用 workflow + IFTTT 曲线救国的方法,不仅不直观,而且要在手机上多次下载软件、多次授权之后才能进行操作,我跟着原文的方式尝试了一遍之后,依然没有在spotify中看到导入的歌单……所以被逼无奈才又写了几行代码实现的。

步骤
  1. 得到歌单ID:从浏览器进入到你的歌单,复制地址栏中"music.163.com/#/playlist?id="后面的数字。
  2. 进入到这个页面下载t.py文件,请确保电脑上已经正确安装Python。随后,将文件中的playlistId变量改为你刚刚获得的歌单ID。
  3. 运行t.py得到一个.txt文件。
  4. 打开这个网站并粘贴.txt中的全部内容,等待其自动识别并创建歌单。
优点
可能遇到的问题
  • 网易云API只返回歌单中最多1000首歌曲的信息。
  • 由于版权原因,部分歌曲spotify不能添加。

163musicspider's People

Contributors

bjason avatar jzeng9 avatar

Watchers

 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.