I am trying to download file from steamworkshopdownloader.io with requests but it always returns 500 error. What am I doing wrong? I am not very familiar with requests.
Code:
import requests def downloadMap(map_id): session = requests.session() file = session.post("https://backend-02-prd.steamworkshopdownloader.io/api/details/file", data={"publishedfileid": map_id}) print(file) downloadMap("814218628") https://stackoverflow.com/questions/66509659/why-does-server-returns-500-response-to-post-request March 07, 2021 at 03:10AM
没有评论:
发表评论