小编Mar*_* M.的帖子

“requests.exceptions.ConnectionError:('连接中止。',RemoteDisconnected('远程结束关闭连接而无响应',))”

我正在尝试连接到https://apis.digital.gob.cl/fl/feriados/2020requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) ,但在与其他 URL 完美配合的脚本上出现错误。

代码:

import requests

response = requests.get('https://apis.digital.gob.cl/fl/feriados/2020')
print(response.status_code)
Run Code Online (Sandbox Code Playgroud)

python api response python-3.x python-requests

14
推荐指数
1
解决办法
3万
查看次数

标签 统计

api ×1

python ×1

python-3.x ×1

python-requests ×1

response ×1