Comments (1)
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
import akshare as ak
stock_a_indicator_lg_df = ak.stock_a_indicator_lg(symbol="000001")
Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/akshare/stock_feature/stock_a_indicator.py", line 75, in stock_a_indicator_lg
**get_cookie_csrf(url="https://legulegu.com/"),
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/akshare/stock_feature/stock_a_indicator.py", line 27, in get_cookie_csrf
csrf_token = csrf_tag.attrs["content"]
AttributeError: 'NoneType' object has no attribute 'attrs'
Expected behavior
A clear and concise description of what you expected to happen.Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
接口正常
from akshare.
Related Issues (20)
- fund_etf_hist_em 接口异常 HOT 1
- AKShare 接口问题报告 HOT 1
- AKShare 接口问题报告 HOT 1
- option_comm_info error HOT 1
- AKShare 接口问题报告
- AKShare 接口问题报告 HOT 1
- AKShare 接口问题报告 HOT 2
- AKShare 接口问题报告 HOT 4
- AKShare 接口问题报告 HOT 1
- AKShare 接口问题报告 HOT 1
- CentOS 7.9安装失败 HOT 2
- AKShare 接口问题报告 HOT 2
- AKShare 接口问题报告 HOT 1
- 同花顺 - 概念板块系列接口不再提供? HOT 1
- etf的历史溢价数据 HOT 1
- AKShare 接口问题报告 HOT 1
- 能否新增个股资讯接口 HOT 1
- AKShare 接口问题报告 HOT 1
- 同花顺-数据中心-资金流向-个股资金流即时接口偶尔会返回13个字段产生错误,建议适配 HOT 1
- stock_a_indicator_lg出现ValueError: could not convert string to float: 'null' HOT 2
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.