GithubHelp home page GithubHelp logo

heqin-zhu / music-recover Goto Github PK

View Code? Open in Web Editor NEW
412.0 13.0 119.0 24.43 MB

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

License: MIT License

Python 98.48% Batchfile 1.52%
python mp3 crawler regex

music-recover's People

Contributors

aar0u avatar bkbncn avatar heqin-zhu avatar meoww-bot avatar qrzbing avatar wseng avatar zhangvv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

music-recover's Issues

输出文件缺失的问题

  1. 我的输入含有 100 个 .uc! 文件, 但输出的 .mp3 只有 85 个, 还有 15 个到哪里去了呢. 如果文件信息解析失败, 是不是提示一下比较好?
  2. 运行程序时, 命令行输出有 86 条. 其中两个文件名完全相同. 检查 .mp3/ 目录, 其中只有 85 个文件. 可能是输出的同名文件发生覆盖? 比如同一首歌有两个版本的情况?

最后, 非常感谢你的分享! 芜湖!

NameError: name 'getPath' is not defined

你好,多谢你的代码
但是实在不懂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

无法得到lrc歌词文件

你好,这个将缓存文件转换成mp3文件功能很有用,同时我还想获取歌曲的lrc歌词文件,请问应该怎样操作呢?

经过自己的一番修改,发现其实获取歌曲lrc歌词文件也不难(在源代码基础上)

致谢

工具写的太棒了,速度相当好,只有一些小问题,在mac有linux的换行符,需要unix2dos转换下.

能自己保存歌手,专辑,跳过重复,就完美了.

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.