0xHJK / music-dl

search and download music 从网易云音乐、QQ音乐、酷狗音乐、百度音乐、虾米音乐、咪咕音乐等搜索和下载歌曲
MIT License
3.81k stars 548 forks source link

[BUG]TypeError: __init__() got an unexpected keyword argument 'keyword' #58

Open AlucardNosferatu opened 4 years ago

AlucardNosferatu commented 4 years ago
"C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe" "C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.1\plugins\python-ce\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 58829 --file C:/Users/16413/Documents/GitHub/LostXmas/seq2seq/server/inspiration.py
pydev debugger: process 19136 is connecting
Connected to pydev debugger (build 201.7846.77)
Traceback (most recent call last):
  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\click\core.py", line 781, in main
    with self.make_context(prog_name, args, **extra) as ctx:
  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\click\core.py", line 698, in make_context
    ctx = Context(self, info_name=info_name, parent=parent, **extra)
TypeError: __init__() got an unexpected keyword argument 'keyword'

code:

import music_dl
r = music_dl.main(keyword='平安夜')
print(r)