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

下载音乐报错(新手) #59

Closed
PotatoXi opened this issue Nov 21, 2022 · 3 comments
Closed

下载音乐报错(新手) #59

PotatoXi opened this issue Nov 21, 2022 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@PotatoXi
Copy link

PotatoXi commented Nov 21, 2022

Window11
python 3.9.7
bilix 0.10.4
ffmpeg 3.4
终端输入:bilix get_series 'https://www.bilibili.com/video/BV1ts411D7mf' --only-audio
报错:
WARNING GET ValueError 未知异常 url: 'https://www.bilibili.com/video/BV1ts411D7mf'
ValueError: unknown url type: "/'https://www.bilibili.com/video/BV1ts411D7mf'"

@HFrost0
Copy link
Owner

HFrost0 commented Nov 21, 2022

你是不是用的windows的cmd,这个终端好像不支持''包裹url

@PotatoXi
Copy link
Author

Pycharm终端输入的,现在去掉''可以解决问题。
请问url中https://www.bilibili.com/video/BV1ts411D7mf,"BV1ts411D7mf"这个如何找到?
其他up主的合集,后会出现spm_id_from,无法批量下载。

@HFrost0
Copy link
Owner

HFrost0 commented Nov 21, 2022

windows里面有个非常好用的windows terminal,可以装一个,或者直接使用系统自带的power shell,你的pycharm可能版本可能也不高?不然应该默认使用power shell而不是cmd。

spm_id_from这个参数可以去掉不影响,尽量还是找一个支持''的终端,这样即使带着一堆参数也不影响

@HFrost0 HFrost0 added the help wanted Extra attention is needed label Nov 21, 2022
@HFrost0 HFrost0 closed this as completed Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants