Giter Site home page Giter Site logo

netease-music-downloader's Introduction

使用介绍

  1. 先安装信任 cert/ 目录下的证书.
  2. 安装依赖 npm install 并执行 npm start. (这一步会开启一个代理)
  3. 设置浏览器代理为 localhost:3210
  4. 访问 https://music.163.com 播放歌曲, 然后代理工具会自动将歌曲下载到 music/ 目录下

小技巧

快速自动播放下一曲

在网易云音乐页面打开控制台, 贴入以下代码并回车执行:

setInterval(() => {
    const style = document.querySelector(".cur").getAttribute("style");
    const width = parseInt((/: ?(\d+)/.exec(style) || [])[1]);
    console.log("width: ", width);
    if(isNaN(width)){
        console.warn("invalid width");
        return;
    }
    if(width >= 5) {
        console.log("next song");
        document.querySelector(".nxt").click();
    }
}, 5 * 1000);

netease-music-downloader's People

Contributors

alanwei43 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.