Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/heqin-zhu/music-recover

:musical_note: 缓存文件转换为 MP3 文件
https://github.com/heqin-zhu/music-recover

crawler mp3 python regex

Last synced: 2 months ago
JSON representation

:musical_note: 缓存文件转换为 MP3 文件

Awesome Lists containing this project

README

        


music-recover





[![Stars](https://img.shields.io/github/stars/mbinary/music-recover.svg?label=Stars&style=social)](https://github.com/mbinary/music-recover/stargazers)
[![Forks](https://img.shields.io/github/forks/mbinary/music-recover.svg?label=Fork&style=social)](https://github.com/mbinary/music-recover/network/members)
[![License](https://img.shields.io/badge/LICENSE-MIT-blue.svg)](LICENSE)
[![Contributors](https://img.shields.io/github/contributors/mbinary/music-recover.svg)](https://github.com/mbinary/music-recover/graphs/contributors)
[![Language](https://img.shields.io/badge/language-python3.5+-orange.svg)](.)
[![Coverage](https://codecov.io/gh/mbinary/music-recover/branch/master/graph/badge.svg)](https://codecov.io/github/mbinary/music-recover?branch=master)

[![codebeat badge](https://codebeat.co/badges/875e7de3-895b-479e-9384-c5db71930c15)](https://codebeat.co/projects/github-com-mbinary-music-recover-master)

# 声明
![warning](images/warning.png)

代码仅供技术交流,参考学习,请尊重版权,勿用于商业及非法用途,如产生法律纠纷与本人无关

## 介绍
将缓存文件转换为 mp3 文件。这是[详细介绍](https://mbinary.xyz/decrypt-netease-music.html)

## 依赖
* python3.5+
* python 模块
- requests
- mutagen

运行命令安装
```shell
$ pip3 install -r requirements.txt
```

## 使用
![](images/flow-chart.png)

- 如果要获得电脑上的缓存文件,那么可以不传入参数直接运行这个脚本`python3 decrypt.py`
- 如果是手机上的(`一般是netease/cloudmusic[lite]/Cache/Music1`, 将其拷贝到电脑上),**或者上面情况出现没有找到文件夹,没有文件等错误**,那么需要指定缓存文件的位置作为参数运行(可以将缓存文件夹拷贝到当前目录重命名music, 然后运行`python3 decrypt.py music`)。
- 已上传示例文件,可运行`python3 decrypt.py music` 进行尝试
- 结果保存在当前目录下的`mp3`中:smiley: