diff options
author | John Wu <topjohnwu@gmail.com> | 2020-11-05 17:40:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 17:40:47 +0100 |
commit | 8949f900833d63a4b3c6a94e9c99d0a45f030da9 (patch) | |
tree | 851182cdb379f47e6fb5a46f145bcb6f94b922ed | |
parent | Safeguard against the future: Use Kies2.0_FUS as User Agent. (#29) (diff) | |
download | samloader-8949f900833d63a4b3c6a94e9c99d0a45f030da9.tar samloader-8949f900833d63a4b3c6a94e9c99d0a45f030da9.tar.gz samloader-8949f900833d63a4b3c6a94e9c99d0a45f030da9.tar.bz2 samloader-8949f900833d63a4b3c6a94e9c99d0a45f030da9.tar.lz samloader-8949f900833d63a4b3c6a94e9c99d0a45f030da9.tar.xz samloader-8949f900833d63a4b3c6a94e9c99d0a45f030da9.tar.zst samloader-8949f900833d63a4b3c6a94e9c99d0a45f030da9.zip |
-rw-r--r-- | samloader/fusclient.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samloader/fusclient.py b/samloader/fusclient.py index 259d1b4..47e8686 100644 --- a/samloader/fusclient.py +++ b/samloader/fusclient.py @@ -30,7 +30,7 @@ class FUSClient(object): headers = {"Authorization": authv, "User-Agent": "Kies2.0_FUS"} if start > 0: 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) r.raise_for_status() return r |