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

接口 stock_board_concept_name_em 在http 服务启动中一直保存缓存,没有更新 #195

Open
matakk opened this issue Feb 20, 2025 · 1 comment

Comments

@matakk
Copy link

matakk commented Feb 20, 2025

1:启动 python -m aktools
2:http 请求 stock_board_concept_name_em 接口,后续的请求都是基于第一次的请求数据,没有实时更行,

加入参数:http.AddRequestHeaders("Cache-Control","no-cache, no-store"); 参数也无效,
3:关闭掉aktools,再次启动,获取数据就是最新的了,然后还是不更新。
不知道是使用不对还是bug。

@aochant
Copy link

aochant commented Feb 26, 2025

我也有这个问题,我看了一下不是aktools的问题, 是最近akshare的问题

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