sofa icon indicating copy to clipboard operation
sofa copied to clipboard

Request sofafeed api always get 'Connection aborted.' error

Open Ti0oik opened this issue 1 year ago • 0 comments

When I request https://sofafeed.macadmins.io/v1/macos_data_feed.json with python, I always get 'Connection aborted. 'error, please help me see where to make the corresponding changes. Here is my code and error message

headers = {"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0"} response = requests.get("https://sofafeed.macadmins.io/v1/macos_data_feed.json", verify=False, timeout=40, headers=headers)

image

Ti0oik avatar Nov 15 '24 07:11 Ti0oik