bypy 下载文件报错:
使用bypy downfile 提示错误:
<E> [15:51:58] Exception occurred:
Exception:
<class 'TypeError'> - downfile() takes from 2 to 3 positional arguments but 5 were given
Stack:
File "/home/esir/anaconda3/bin/bypy", line 11, in <module>
load_entry_point('bypy==1.6.4', 'console_scripts', 'bypy')()
File "/home/esir/anaconda3/lib/python3.6/site-packages/bypy-1.6.4-py3.6.egg/bypy/bypy.py", line 3700, in main
perr("Exception occurred:\n{}".format(formatex(ex)))
File "/home/esir/anaconda3/lib/python3.6/site-packages/bypy-1.6.4-py3.6.egg/bypy/util.py", line 73, in formatex
type(ex), ex, ''.join(traceback.format_stack()))Abort
原因其实就是文件名有空格,所以解决方案就是使用网页版,修改一下名字就好了