HFrost0 / bilix

⚡️Lightning-fast async download tool for bilibili and more
Apache License 2.0
1.61k stars 169 forks source link

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

Closed PotatoXi closed 1 year ago

PotatoXi commented 1 year ago

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 commented 1 year ago

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

PotatoXi commented 1 year ago

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

HFrost0 commented 1 year ago

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

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