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

index_investing_global_from_url() 接口报错 #4421

Closed
tianhaisuifeng opened this issue Jan 11, 2024 · 1 comment
Closed

index_investing_global_from_url() 接口报错 #4421

tianhaisuifeng opened this issue Jan 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@tianhaisuifeng
Copy link

最新版本,index_investing_global_from_url() 接口报错:
line 243, in index_investing_global_from_url
data_text = soup.find("script", attrs={"id": "NEXT_DATA"}).text
AttributeError: 'NoneType' object has no attribute 'text'

@tianhaisuifeng tianhaisuifeng added the bug Something isn't working label Jan 11, 2024
@albertandking
Copy link
Collaborator

最新版本,index_investing_global_from_url() 接口报错: line 243, in index_investing_global_from_url data_text = soup.find("script", attrs={"id": "NEXT_DATA"}).text AttributeError: 'NoneType' object has no attribute 'text'

感谢反馈问题,目前已移除该接口,升级到 AKShare 1.12.21 使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants