Change URL from https to http

Fixes nlscc/samloader#27
This commit is contained in:
topjohnwu 2020-11-05 06:44:45 -08:00
parent c71818549e
commit 74ea6e3ac5

View File

@ -29,7 +29,7 @@ class FUSClient(object):
headers = {"Authorization": authv} headers = {"Authorization": authv}
if start > 0: if start > 0:
headers["Range"] = "bytes={}-".format(start) headers["Range"] = "bytes={}-".format(start)
r = requests.get("https://cloud-neofussvr.sslcs.cdngc.net/NF_DownloadBinaryForMass.do", r = requests.get("http://cloud-neofussvr.sslcs.cdngc.net/NF_DownloadBinaryForMass.do",
params={"file": filename}, headers=headers, stream=True) params={"file": filename}, headers=headers, stream=True)
r.raise_for_status() r.raise_for_status()
return r return r