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

这个问题再次出现AttributeError: 'NoneType' object has no attribute 'get' #51

Open
xujianjun99 opened this issue Sep 11, 2024 · 1 comment

Comments

@xujianjun99
Copy link

大佬求助,这个问题再次出现!
环境:
Python 3.8.10
windows 11
pywencai 0.12.2

python test.py
Traceback (most recent call last):
File "D:/TEST/test.py", line 2, in
res = pywencai.get(query='退市股票', sort_key='退市@退市日期', sort_order='asc')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:/python38/Lib/site-packages/pywencai/wencai.py", line 185, in get
data = params.get('data')
^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

@montrush
Copy link

好像是问财的api接口挂了,不知道是不是永久性的关闭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants