mirror of
https://github.com/topjohnwu/samloader.git
synced 2024-11-27 05:30:24 +00:00
parent
c71818549e
commit
74ea6e3ac5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user