Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: unknown command '3779629' #1

Open
hulao6 opened this issue Nov 29, 2024 · 11 comments
Open

error: unknown command '3779629' #1

hulao6 opened this issue Nov 29, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@hulao6
Copy link

hulao6 commented Nov 29, 2024

示例没跑下来, error: unknown command '3779629'

小白一个,能不能完善下文档。

感谢

@Groupguanfang
Copy link
Owner

居然有人关注这个项目 我也是没想到 之后我做一个网页版的吧,这样大家都能很方便用了😂

实在是想急用的话,请问有node.js + pnpm环境嘛?装了node环境才能执行readme里面的命令的

@hulao6
Copy link
Author

hulao6 commented Dec 4, 2024

执行了,报这个错,

~/download_music$ pnpx music-list-downloader 3779629 ./config/music
Packages: +188
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 188, reused 183, downloaded 5, added 188, done
error: unknown command '3779629'

@hulao6
Copy link
Author

hulao6 commented Dec 4, 2024

对我来说,这个项目很实用的,

@Groupguanfang
Copy link
Owner

能否看一下pnpx music-list-downloader@latest有无正常输出?正常应该是这样的:

截屏2024-12-05 02 40 40

另外能否给出您的node和pnpm版本?使用node -vpnpm -v命令可以得到🙏

@hulao6
Copy link
Author

hulao6 commented Dec 5, 2024

image

@hulao6
Copy link
Author

hulao6 commented Dec 5, 2024

node v18.13.0
pnpm 9.14.2

@Groupguanfang
Copy link
Owner

是我readme里的的命令搞错了,正确的命令应该是:

pnpx music-list-downloader download-list 3779629 ./config/music

而不是

pnpx music-list-downloader 3779629 ./config/music

readme文档里面的命令少了一个download-list,加上应该就没问题了。稍等我改一下readme就好🙏

@hulao6

@Groupguanfang Groupguanfang added the bug Something isn't working label Dec 5, 2024
@hulao6
Copy link
Author

hulao6 commented Dec 6, 2024

image
可以执行了, 100首,成功下载1首

@Groupguanfang
Copy link
Owner

image

请在cookie.txt内填写您的网易云cookie才行的(但是你也知道很多歌都是需要vip的,最好网易云得要开个会员;这个工具主要是为了解决网易云客户端下载歌曲下来是ncm加密格式,而不是mp3的问题)。

cookie的获取方法可以前往我自己搭建的网站:登录,使用网易云APP扫描网页上的二维码进行登录。页面上显示出来这样的json格式的信息就说明登录成功了:

image

然后打开F12,找到应用 - 本地存储空间,里面会有一个cookie:

image

把这个值复制了,再粘贴到cookie.txt文件里就行了。

image image

@Groupguanfang Groupguanfang reopened this Dec 6, 2024
@Groupguanfang
Copy link
Owner

Groupguanfang commented Dec 6, 2024

之后我做的网页版,支持网站管理员自己配置下载URL时的cookie(如果网站的管理员有网易云的VIP帐号,那就能共享出来给大伙用了),而且能保证cookie的安全问题。

@hulao6
Copy link
Author

hulao6 commented Dec 6, 2024

之后我做的网页版,支持网站管理员自己配置下载URL时的cookie(如果网站的管理员有网易云的VIP帐号,那就能共享出来给大伙用了),而且能保证cookie的安全问题。

很期待

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In review
Development

No branches or pull requests

2 participants