heqin-zhu / music-recover Goto Github PK
View Code? Open in Web Editor NEW:musical_note: 缓存文件转换为 MP3 文件
License: MIT License
:musical_note: 缓存文件转换为 MP3 文件
License: MIT License
Line 99: I think setID3 can be revised to the form of "try ... except" as some songs have no ID3 tag present.
亲测mac上的网易云音乐也是相同的办法加密,
缓存路径:
/Users/macbookpro(用户名)/Library/Containers/com.netease.163music/Data/Caches/online_play_cache
.uc!
文件, 但输出的 .mp3
只有 85 个, 还有 15 个到哪里去了呢. 如果文件信息解析失败, 是不是提示一下比较好?.mp3/
目录, 其中只有 85 个文件. 可能是输出的同名文件发生覆盖? 比如同一首歌有两个版本的情况?最后, 非常感谢你的分享! 芜湖!
thanks for the wonderful tool, i found the the path in below issue, could you help add the path to README so that other mac users can easy enjoy using this tool?
目录是建立了,但是目录是空的
经过自己的一番修改,发现其实获取歌曲lrc歌词文件也不难(在源代码基础上)
工具写的太棒了,速度相当好,只有一些小问题,在mac有linux的换行符,需要unix2dos转换下.
能自己保存歌手,专辑,跳过重复,就完美了.
请问下输出的文件名称怎么修改,我想改成 歌曲手-歌曲名称.MP3 的这种格式
电脑上PotPlayer可以识别,有没有办法解决,换了好几个音乐播放器都不能识别。
你好,多谢你的代码
但是实在不懂python
我在手机和电脑上都遇到一样的错误,看起来是api失效了,应该不是我网络的问题
转换一首歌后就崩了,名字是一堆数字,我估计就是song ID。
然后我直接访问代码中的api,只是用id是可以的,但是加上type就失败了
type=detail会失败
谢谢
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
===================== RESTART: D:\CloudMusic\decrypt.py =====================
[+] Current Path: D:\CloudMusic\Music1
'songs'
Traceback (most recent call last):
File "D:\CloudMusic\decrypt.py", line 92, in decrypt
dic = self.getInfoFromWeb(musicId)
File "D:\CloudMusic\decrypt.py", line 59, in getInfoFromWeb
info = requests.get(url).json()['songs'][0]
KeyError: 'songs'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\CloudMusic\decrypt.py", line 147, in
handler.getMusic()
File "D:\CloudMusic\decrypt.py", line 135, in getMusic
self.decrypt(cachePath)
File "D:\CloudMusic\decrypt.py", line 103, in decrypt
path = getPath(dic,musicId)
NameError: name 'getPath' is not defined
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.