You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(base) C:\stock\Listed-company-news-crawl-and-text-analysis-master\src\Gon>python ./history_starter_stock_price.py
Traceback (most recent call last):
File "C:\stock\Listed-company-news-crawl-and-text-analysis-master\src\Gon\history_starter_stock_price.py", line 13, in
stock_info_spyder.get_historical_news()
File "C:\stock\Listed-company-news-crawl-and-text-analysis-master\src\Gon\stockinfospyder.py", line 59, in get_historical_news
self.get_stock_code_info()
File "C:\stock\Listed-company-news-crawl-and-text-analysis-master\src\Gon\stockinfospyder.py", line 46, in get_stock_code_info
stock_symbol_code = ak.stock_zh_a_spot().get(["symbol", "code"]) # 获取A股所有股票的symbol和code
File "C:\ProgramData\Anaconda3\lib\site-packages\akshare\stock\stock_zh_a_sina.py", line 61, in stock_zh_a_spot
data_json = demjson.decode(r.text)
File "C:\ProgramData\Anaconda3\lib\site-packages\akshare\utils\demjson.py", line 5740, in decode
result = j.decode(txt,
File "C:\ProgramData\Anaconda3\lib\site-packages\akshare\utils\demjson.py", line 4957, in decode
raise errors[0]
akshare.utils.demjson.JSONDecodeError: Can not decode value starting with character '<'
The text was updated successfully, but these errors were encountered:
(base) C:\stock\Listed-company-news-crawl-and-text-analysis-master\src\Gon>python ./history_starter_stock_price.py
Traceback (most recent call last):
File "C:\stock\Listed-company-news-crawl-and-text-analysis-master\src\Gon\history_starter_stock_price.py", line 13, in
stock_info_spyder.get_historical_news()
File "C:\stock\Listed-company-news-crawl-and-text-analysis-master\src\Gon\stockinfospyder.py", line 59, in get_historical_news
self.get_stock_code_info()
File "C:\stock\Listed-company-news-crawl-and-text-analysis-master\src\Gon\stockinfospyder.py", line 46, in get_stock_code_info
stock_symbol_code = ak.stock_zh_a_spot().get(["symbol", "code"]) # 获取A股所有股票的symbol和code
File "C:\ProgramData\Anaconda3\lib\site-packages\akshare\stock\stock_zh_a_sina.py", line 61, in stock_zh_a_spot
data_json = demjson.decode(r.text)
File "C:\ProgramData\Anaconda3\lib\site-packages\akshare\utils\demjson.py", line 5740, in decode
result = j.decode(txt,
File "C:\ProgramData\Anaconda3\lib\site-packages\akshare\utils\demjson.py", line 4957, in decode
raise errors[0]
akshare.utils.demjson.JSONDecodeError: Can not decode value starting with character '<'
The text was updated successfully, but these errors were encountered: