summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Macdonald <ian@caliban.org>2020-12-02 14:52:29 +0100
committerGitHub <noreply@github.com>2020-12-02 14:52:29 +0100
commit8130055b2ea2b367bf7dd84bdb38936b1b16c3db (patch)
tree135467c6ceddb10129eabafd94ebf91c4cc15bb0
parentChange URL from https to http (#28) (diff)
downloadsamloader-8130055b2ea2b367bf7dd84bdb38936b1b16c3db.tar
samloader-8130055b2ea2b367bf7dd84bdb38936b1b16c3db.tar.gz
samloader-8130055b2ea2b367bf7dd84bdb38936b1b16c3db.tar.bz2
samloader-8130055b2ea2b367bf7dd84bdb38936b1b16c3db.tar.lz
samloader-8130055b2ea2b367bf7dd84bdb38936b1b16c3db.tar.xz
samloader-8130055b2ea2b367bf7dd84bdb38936b1b16c3db.tar.zst
samloader-8130055b2ea2b367bf7dd84bdb38936b1b16c3db.zip
-rw-r--r--samloader/fusclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/samloader/fusclient.py b/samloader/fusclient.py
index 47e8686..fdb9f28 100644
--- a/samloader/fusclient.py
+++ b/samloader/fusclient.py
@@ -31,6 +31,6 @@ class FUSClient(object):
if start > 0:
headers["Range"] = "bytes={}-".format(start)
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()
return r