Open daijiaxin265 opened 2 years ago
最近在忙别的事情,这块不难的,也可以自己找一下新的接口。
Thanks!
------------------ 原始邮件 ------------------ 发件人: "CBJerry993/TT_Fund" @.>; 发送时间: 2022年10月22日(星期六) 中午1:25 @.>; @.***>; 主题: Re: [CBJerry993/TT_Fund] 你好,大神,错误问题请教 (Issue #8)
http://dcfm.eastmoney.com/EM_MutiSvcExpandInterface 接口挂了
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
大佬,你好.请问你有遇到这个错误没,是如何处理的 File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\26549\pycharm\TT_Fund-master\tt_fund\spiders\beixiang.py", line 15, in
class BeixiangSpider(scrapy.Spider):
File "C:\Users\26549\pycharm\TT_Fund-master\tt_fund\spiders\beixiang.py", line 23, in BeixiangSpider
response = requests.get(
File "C:\Users\26549\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\api.py", line 73, in get
return request("get", url, params=params, kwargs)
File "C:\Users\26549\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, kwargs)
File "C:\Users\26549\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 587, in request
resp = self.send(prep, send_kwargs)
File "C:\Users\26549\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 701, in send
r = adapter.send(request, kwargs)
File "C:\Users\26549\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\adapters.py", line 547, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))