beadd / creamplayer Goto Github PK
View Code? Open in Web Editor NEW🎵 QQ Netease Music Downloader
License: MIT License
🎵 QQ Netease Music Downloader
License: MIT License
歌单里有1937首歌,打开下载文件夹查看只有1494首,继续下载显示success,但文件夹1494数量不变,求解答.
hope artist ,album id supported.
and files can be stored in separate folder may be better?
thx a lot.
建议调用eyeD3模块 修改无元数据的mp3文件
利用meting api返回的pic id等参数获取歌曲封面,作者名称,专辑名等元数据
另:cookies如果是自己的账号,建议不要漏了
用不了了啊
有时下载的文件夹中会出现歌名之后有(1)的文件,当这个文件出现并且再次下载到这首歌的时候,程序无法检测已经下载过这首歌,并且会在此处卡住,无法继续运行。
如何进行音质选择,输入完cookie了之后是只能下载无损音质了嘛?还想下载320kbps怎么办
感谢作者!
在使用的过程发现,程序在下载时有时会闪退,再次下载时不会跳过已下载的文件,期待加入跳过已下载文件。
希望能写一个GUI
1.出现大量短时间的歌曲,1分钟以内(貌似是vip?),建议增加过滤此类歌曲功能。
2.音乐与歌词文件数量不一致,可能有部分纯音乐无歌词文件?建议手动删除音乐文件后,执行命令能同时删除对应歌词文件。
3.建议增加导出未下载成功、跳过、过滤部分歌曲名单txt文件。
https://music.163.com/#/my/m/music/playlist?id=7201971650
使用exe程序,不知道什么原因
网易云,内嵌的封面太过模糊,下载的音乐码率略低(大部分为128k的)
无意中搜索找到的,看上去好像是下载网易云和QQ音乐的工具,可是看了半天,不知道如何使用。
我下载了EyeD3Music,打开界面,好像是需要填写API服务器地址?例如 http://api.injahow.cn/meting/
如果不是 Netease or QQ vip, 是不是vip歌曲下载不了?如果需要下载,则需要自己搭建API服务器,填写vip cookie什么的?
Originally posted by @jsjcjsjc in #38 (comment)
1 Traceback (most recent call last):
File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 891, in <module>
main()
File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 882, in main
if args.args_url is None: pure_main()
File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 865, in pure_mai
n
while True: start_function()
File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 818, in start_fu
nction
mode_music(api_path, g_header, g_proxies, g_header163)
File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 666, in mode_mus
ic
music_path = json_download_music(data, headers, proxies)
File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 225, in json_dow
nload_music
name = json_get_music_name(data)
File "D:\mp3\new\musicdownloader_py\musicdownloader.py", line 100, in json_get
_music_name
name = data['name']
TypeError: string indices must be integers
咋回事啊
我使用需要加header
如题,在win11平台使用此程序下载网易云歌单时会出现下载了几首歌就闪退的情况
我用你的exe到粘贴链接回车闪退
pip安装的要怎么下载,使用什么语法?
请输入歌曲或歌单或歌手或专辑链接:https://music.163.com/song?id=515796411
1 金玟岐 - 手机
Traceback (most recent call last):
File "/Users/xbc/Documents/musicdownloader/musicdownloader.py", line 891, in
main()
File "/Users/xbc/Documents/musicdownloader/musicdownloader.py", line 882, in main
if args.args_url is None: pure_main()
File "/Users/xbc/Documents/musicdownloader/musicdownloader.py", line 865, in pure_main
while True: start_function()
File "/Users/xbc/Documents/musicdownloader/musicdownloader.py", line 813, in start_function
mode_music(api_path, g_header, g_proxies, g_header163)
File "/Users/xbc/Documents/musicdownloader/musicdownloader.py", line 666, in mode_music
music_path = json_download_music(data, headers, proxies)
File "/Users/xbc/Documents/musicdownloader/musicdownloader.py", line 245, in json_download_music
with open(music_path, "wb") as code:
FileNotFoundError: [Errno 2] No such file or directory: 'MusicB/金玟岐 - 手机.net/20230715160620/70bf5015034f9363dfa9f5137cc19df6/ymusic/TDQrAj_iWFpRpdWfuAJIuA==/509951162896830193'
有些歌曲能保存,有些保存不了。https://music.163.com/song?id=1315568574 比如这首歌就能保存。win10系统下用打包好的exe没这个问题。
系统:X86平台 macOS 蒙特雷
大佬你好,用qq音乐用分享连接里的id无法下载,https://i.y.qq.com/v8/playsong.html?songid=339347269
2.1版本支持 添加功能:直接通过链接识别ID 是支持这个id么。
或者有其它方式获取001Pet2M1H10Hl这种原始ID么?
发现下载文件命名为歌曲名,实测歌单中不同歌手唱的同一首命名一样的歌曲只会下载第一个。
1、直接通过链接识别ID(主要嫌复制分享链接出去再复制ID回来有点麻烦)
2、保存时的文件名一定程度的自定义(比如我喜欢 “歌手名 - 歌曲名.mp3”)
网易云歌单的选项下获取到的封面分辨率仅为90x90。
希望可以有600x600的分辨率。
运行时会有如下语法警告
musicdownloader.py:219: SyntaxWarning: "is" with a literal. Did you mean "=="?
难道不是分享页面
https://i.y.qq.com/v8/playsong.html?songid=339347269
的这个ID么??
感谢~~
OSError: [Errno 36] File name too long: version:1.9.2
by the way,v1.9.3 often breakdown.
'AttributeError: 'Tag' object has no attribute 'copyright'. Did you mean: 'copyright_url'?'
感谢你的开源项目,真实帮了大忙。
这个步骤不明白 可否赐教一下 感谢
使用exit()退出程序,在exe退出时会报错
运行musicdownloader.py
报错:
E:\code\github\other\MusicDownloader\venv\Scripts\python.exe E:\code\github\other\MusicDownloader\musicdownloader.py
Traceback (most recent call last):
File "E:\code\github\other\MusicDownloader\musicdownloader.py", line 57, in <module>
g_width = os.get_terminal_size().columns # 为了打印一整行的分隔符
OSError: [WinError 6] 句柄无效。
进程已结束,退出代码1
解决办法:
try:
g_width = os.get_terminal_size().columns
except OSError:
g_width = 80 # 设置一个默认值,以避免在 Windows 中出现错误
你好大佬,感谢制作软件。
刚才先使用exe的软件,下载中程序停止运行,打开log文件只有前面音乐下载成功的信息,然后下载了.py文件运行。
歌单链接
.exe和.py文件都只能下载前16首,.py报错信息为:
17 Born a Stranger(slow)Traceback (most recent call last):
File "E:\xxx\MusicDownloader.py", line 291, in <module>
if Music() == 0:
File "E:\xxx\MusicDownloader.py", line 104, in Music
plog(str(num) + ' ' + data['name'],str(num) + ' ' + data['name'])
File "E:\xxx\MusicDownloader.py", line 53, in plog
log.write(loginfo+"\n")
UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position 7: illegal multibyte sequence
Originally posted by @jyldcr in #7 (comment)
应该是 pycryptodome
例如 https://y.qq.com/n/ryqq/songDetail/003AC4Vq2gG1XN 这一首歌, 歌曲 ID 不是 003AC4Vq2gG1XN 么?
另外歌单下载的时候还提示输入单曲id, 还不支持歌单下载么, 例如 https://y.qq.com/n/ryqq/playlist/8710032158
为什么提交pr后,我不在README.md的贡献者列表中?
是我提交pr的方式不对吗?
还是contrib.rocks的问题?
Could you add the function to support to search and download music under proxy?
When downloading 神のまにまに in a playlist :
--------------------------------------------------
13 神のまにまに 4042699字节
Traceback (most recent call last):
File "MusicDownloader.py", line 291, in <module>
if Music() == 0:
File "MusicDownloader.py", line 152, in Music
audiofile.tag.images.set(3, audio_Image.content, "image/jpeg")
File "eyed3\utils\__init__.py", line 143, in wrapped_fn
File "eyed3\id3\tag.py", line 1593, in set
ValueError: img_url MUST not be none when no image data
[17956] Failed to execute script 'MusicDownloader' due to unhandled exception!
已内嵌名称 已内嵌歌手
[已退出进程,代码为 1 (0x00000001)]
Downloading 花降らし :
28 花降らし 4719789字节
Traceback (most recent call last):
File "MusicDownloader.py", line 291, in <module>
if Music() == 0:
File "MusicDownloader.py", line 152, in Music
audiofile.tag.images.set(3, audio_Image.content, "image/jpeg")
File "eyed3\utils\__init__.py", line 143, in wrapped_fn
File "eyed3\id3\tag.py", line 1593, in set
ValueError: img_url MUST not be none when no image data
[5604] Failed to execute script 'MusicDownloader' due to unhandled exception!
已内嵌名称 已内嵌歌手
[已退出进程,代码为 1 (0x00000001)]
It is worth noting that, the problem doesn't happen to any specific songs or playlists.
Also it connot download QQ music vip songs at the moment
没找到怎么个批量下载,需要说明一下
File "/MusicDownloader/musicdownloader.py", line 155, in name_get_music_path
music_path = g_music_dir_name + '/' + name + '.' + music_type
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
TypeError: can only concatenate str (not "NoneType") to str
Debug 查看到redirect url为https://m7.music.126.net/20230623182314/b582e34c8a66f725348033832ae8065b/ymusic/obj/w5zDlMODwrDDiGjCn8Ky/11406982739/89f9/90c7/a204/c8789cd036a18285e36d1c7cbbca704a.
如题。
OS:EndeavourOS
内核:6.1.39-2-lts
DE:Cinnamon
NodeJs:18.17.0
npm:9.6.7
$ npm install
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@achrinza/[email protected]',
npm WARN EBADENGINE required: { node: '8 || 10 || 12 || 14 || 16 || 17' },
npm WARN EBADENGINE current: { node: 'v18.17.0', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: Please use @electron/asar moving forward. There is no API change, just a package name change
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Please use @electron/osx-sign moving forward. Be aware the API is slightly different
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'
> [email protected] postinstall
> electron-builder install-app-deps
• electron-builder version=22.14.13
added 1589 packages in 13s
2 packages are looking for funding
run `npm fund` for details
$ npm run build
> [email protected] build
> vue-cli-service build
All browser targets in the browserslist configuration have supported ES module.
Therefore we don't build two separate bundles for differential loading.
ERROR Error: Cannot find module 'webpack/lib/rules/BasicEffectRulePlugin'
Require stack:
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/pluginWebpack5.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/plugin.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/index.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/@vue/cli-service/lib/config/base.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/@vue/cli-service/lib/Service.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/@vue/cli-service/bin/vue-cli-service.js
Error: Cannot find module 'webpack/lib/rules/BasicEffectRulePlugin'
Require stack:
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/pluginWebpack5.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/plugin.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/index.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/@vue/cli-service/lib/config/base.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/@vue/cli-service/lib/Service.js
- /home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/@vue/cli-service/bin/vue-cli-service.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/home/zxp-endeavouros/.cache/paru/clone/tmp/Creamplayer-4.0.0/node_modules/vue-loader/dist/pluginWebpack5.js:30:31)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
$ npm run electron:build
> [email protected] electron:build
> vue-cli-service electron:build
INFO Bundling render process:
All browser targets in the browserslist configuration have supported ES module.
Therefore we don't build two separate bundles for differential loading.
ERROR Vue CLI build failed. Please resolve any issues with your build and try again.
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.