1nchaos / 1nchaos/adata

网页的请求接口和实际代码里的请求接口不一样

Aperta
#153 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Python
Stelle
5.2k
Fork
696
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

比如获取个股人气榜的前100,https://guba.eastmoney.com/rank/

浏览器网页中的接口是:https://push2.eastmoney.com/api/qt/ulist.np/get

实际请求的接口是:https://emappdata.eastmoney.com/stockrank/getAllCurrentList

请问两种方法有何异同,实际请求的接口是如何获取到的?

![Image](https://github.com/user-attachments/assets/38654dfa-a901-43dc-9d60-58b376cadf19)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

The issue is about a discrepancy between the API endpoint shown in the browser (push2.eastmoney.com/api/qt/ulist.np/get) and the one actually used in the code (emappdata.eastmoney.com/stockrank/getAllCurrentList). First, examine the project's data fetching logic, likely in modules handling stock ranking data. Look for where the API URL is constructed or overridden. Check network request handling and any proxy or fallback mechanisms. Determine if this is a documentation mismatch, a bug, or an intentional switch. Verify by running the relevant data retrieval functions and comparing outputs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
api
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.