最新版本,stock_profit_forecast_em()报错
服务器无反应:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='datacenter-web.eastmoney.com', port=443): Max retries exceeded with url: /api/data/v1/get?reportName=RPT_WEB_RESPREDICT&columns=WEB_RESPREDICT&pageNumber=1&pageSize=500&sortTypes=-1&sortColumns=RATING_ORG_NUM&p=1&pageNo=1&pageNum=1&filter=%28INDUSTRY_BOARD%3D%22%E8%88%AA%E8%BF%90%E6%B8%AF%E5%8F%A3%22%29 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001BFB2D98040>: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。'))
最新版本,stock_profit_forecast_em()报错 服务器无反应: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='datacenter-web.eastmoney.com', port=443): Max retries exceeded with url: /api/data/v1/get?reportName=RPT_WEB_RESPREDICT&columns=WEB_RESPREDICT&pageNumber=1&pageSize=500&sortTypes=-1&sortColumns=RATING_ORG_NUM&p=1&pageNo=1&pageNum=1&filter=%28INDUSTRY_BOARD%3D%22%E8%88%AA%E8%BF%90%E6%B8%AF%E5%8F%A3%22%29 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001BFB2D98040>: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。'))