Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

sina的接口最近不太稳定,有时候返回为空。 #116

Open
flhang opened this issue Jan 25, 2022 · 6 comments
Open

sina的接口最近不太稳定,有时候返回为空。 #116

flhang opened this issue Jan 25, 2022 · 6 comments

Comments

@flhang
Copy link

flhang commented Jan 25, 2022

sina的接口最近不太稳定,有时候会返回为空。QQ的没有问题。

@wzlu
Copy link

wzlu commented Jan 25, 2022

能否增加东财的数据源?

@qmhedging
Copy link

新浪估计对爬虫做了限制,很难用了

@wzlu
Copy link

wzlu commented Jan 29, 2022

新浪增加headers就可以了,多一个东财可以多一个backup的数据源

@yhylord
Copy link

yhylord commented Feb 6, 2022

@wzlu 请问具体是需要添加什么headers?

@yhylord
Copy link

yhylord commented Feb 10, 2022

接上楼,需要添加的header是referer,例如https://finance.sina.com.cn/

@fingertap
Copy link

0.7.5已经增加了这个header了,手动update一下就好了:pip install -U easyquotation

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants