Code Monkey home page Code Monkey logo

cloudmusictransform's Introduction

环境

python3.8

需安装依赖库

aiohttp == 3.6.2 
aiofiles == 0.5.0

使用方法

  1. 编辑config.ini文件下的[path]变量,配置缓存路径cache,音乐文件生成路径mp3(用笔记本编辑就行)。路径示例: C:/Users/Administrator/AppData/Local/Netease/CloudMusic/Cache/Cache
  2. 运行transform.py (命令提示符中输入命令 python transfrom.py

转换流程

  1. 对缓存文件的数据和0xa3(163)进行异或(^)运算
  2. 用歌曲ID用网易云提供的API去获取歌曲信息
  3. 数据保存为.mp3文件

2020-06-20 Grente

支持并发操作


2020-08-16 Grente

增加例子 如果安装异步网络模块麻烦,可参考只需requests模块版本


2021-01-20 pl-mich

  1. 增加控制台与本地文件的日志文件写入功能
  2. 增加为输出文件自动写入标题、艺术家、唱片集、发布年份、歌曲序号、专辑封面等元数据信息的功能
  3. 将原config.py中的设置信息统一至.ini文件来读写
  4. 增加在查询歌曲信息失败时的容错操作
  5. 更新readme.md
  6. 更新LICENSE中的使用条款与许可证等声明

cloudmusictransform's People

Contributors

grente avatar peijli 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.