Comments (5)
发现不管传入什么,返回的都是达利食品。尝试添加headers和cookies无法解决
from akshare.
你这个是在windows下跑的吗,它默认的symbol就是300059,我现在直接就报错keyerror然后就结束了
from akshare.
详细描述遇到的问题
- 操作系统版本: windows11
- Python 版本,3.10.9
- AKShare 版本,1.13.76
- 接口的名称:
keyword = "300059"
stock_news_em_df = ak.stock_news_em(symbol=keyword)
接口不能正常调用
接口测试正常
from akshare.
@Dbgsaoge 哥们确实可以,我在windows上不行,但是在linux上就可以了感觉不是接口的问题?
from akshare.
进行以下不完全测试及尝试:
- 尝试使用postman用相同params能够正确获取,但是使用Python无法正确获取(mac)
- 更换不同网络环境下的Windows电脑,能够正确获取
- 将https更改为http可以正确获取
- 使用https,并更改为
r = requests.get(url, params=params, verify=False)
无法正确获取
from akshare.
Related Issues (20)
- macro_china_bond_public接口异常 HOT 1
- 调用案例程序出现以下问题 HOT 1
- AKShare 接口问题报告 ak.fund_scale_open_sina HOT 1
- AKShare 股票 - 深圳中小板与主板合并 HOT 1
- AKShare 接口问题报告 HOT 2
- AKShare 接口问题报告,stock_zh_a_hist_min_em 只能获取最近的分时数据,如何可以获取历史分时数据呢,没有历史数据感觉没有多大的意义 HOT 1
- AKShare 接口问题报告 HOT 2
- AKShare 接口问题报告 HOT 1
- 能否新增雪球历史行情数据 HOT 1
- 像是内存溢出 HOT 1
- AKShare 接口问题报告 HOT 2
- AKShare 接口问题报告index_value_hist_funddb无法使用 HOT 1
- 获取B股时出现bug HOT 1
- AKShare 接口问题报告 HOT 2
- AKShare 接口问题报告 HOT 1
- ak.stock_research_report_em HOT 2
- AKShare 美股接口含义疑问 HOT 2
- AKShare 接口需求,新增北京交易所财务数据下载 HOT 1
- AKShare 接口问题报告 HOT 1
- AKShare 接口问题报告(股票热度-问财数据只能返回最多5000只股票结果) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akshare.