报错结果:
requests.exceptions.InvalidSchema: No connection adapters were found
for ‘$http://push2.eastmoney.com/api/qt/clist/get’
报错原因:
'
h
t
t
p
:
/
/
p
u
s
h
2.
e
a
s
t
m
o
n
e
y
.
c
o
m
/
a
p
i
/
q
t
/
c
l
i
s
t
/
g
e
t
′
中
网
页
前
多
了
一
个
http://push2.eastmoney.com/api/qt/clist/get'中网页前多了一个
http://push2.eastmoney.com/api/qt/clist/get′中网页前多了一个,造成错误,也有因为逗号报错的,例如网友这篇文章
https://blog.csdn.net/romon19/article/details/107693155
解决方法,去掉逗号即可。