Micro-sheep / Micro-sheep/efinance

获取股票快照接口报错

Open
#113 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.1k
Forks
755
PR merge metrics
No merged PRs in 30d

Description

python 3.8.9版本 requests:2.28.2版本,
在获取股票快照的时候报错:Max retries exceeded with url: /api/SHSZQuoteSnapshot?id=600373&callback=jQuery183026310160411569883_1646052793441 (Caused by SSLError(SSLError('No cipher can be selected.')))

接口拿出来单独浏览器get请求又没报错,但是通过代码多个请求就报错了.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the stock snapshot request with Python 3.8.9 and requests 2.28.2, comparing a browser GET with multiple code requests to the SHSZQuoteSnapshot endpoint. Investigate the reported SSLError and confirm that repeated requests complete without the “No cipher can be selected” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.