p115client 0.0.5.6.4__py3-none-any.whl → 0.0.5.6.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- p115client/client.py +2 -0
- {p115client-0.0.5.6.4.dist-info → p115client-0.0.5.6.5.dist-info}/METADATA +1 -1
- {p115client-0.0.5.6.4.dist-info → p115client-0.0.5.6.5.dist-info}/RECORD +5 -5
- {p115client-0.0.5.6.4.dist-info → p115client-0.0.5.6.5.dist-info}/LICENSE +0 -0
- {p115client-0.0.5.6.4.dist-info → p115client-0.0.5.6.5.dist-info}/WHEEL +0 -0
p115client/client.py
CHANGED
@@ -194,6 +194,8 @@ def complete_proapi(
|
|
194
194
|
base_url = "https://proapi.115.com"
|
195
195
|
elif not base_url:
|
196
196
|
base_url = "http://proapi.115.com"
|
197
|
+
if not app and path.startswith("/open/") and base_url == "http://proapi.115.com":
|
198
|
+
base_url = "https://proapi.115.com"
|
197
199
|
return f"{base_url}{app}{path}"
|
198
200
|
|
199
201
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
|
2
2
|
p115client/__init__.py,sha256=1mx7njuAlqcuEWONTjSiiGnXyyNyqOcJyNX1FMHqQ-4,214
|
3
3
|
p115client/_upload.py,sha256=j2XHz6-hc9qyfiF92aZY-LPJ3UgbB6e4Jy6CNGQ5rwk,29904
|
4
|
-
p115client/client.py,sha256=
|
4
|
+
p115client/client.py,sha256=E2F9OFrHIbG1HMrZ_IDoHN47OrMw4OlxWLooAfxbK7Q,698751
|
5
5
|
p115client/const.py,sha256=maIZfJAiUuEnXIKc8TMAyW_UboDUJPwYpPS8LjPFp_U,4321
|
6
6
|
p115client/exception.py,sha256=Ugjr__aSlYRDYwoOz7273ngV-gFX2z-ohsJmCba8nnQ,2657
|
7
7
|
p115client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -17,7 +17,7 @@ p115client/tool/request.py,sha256=SWsezW9EYZGS3R-TbZxMG-8bN3YWJ0-GzgvKlvRBSCM,70
|
|
17
17
|
p115client/tool/upload.py,sha256=qK1OQYxP-Faq2eMDhc5sBXJiSr8m8EZ_gb0O_iA2TrI,15915
|
18
18
|
p115client/tool/xys.py,sha256=6NZUkWNsWW6dHDBUpMitmE-1YlkobWIUQ86CBjKJ4mQ,3633
|
19
19
|
p115client/type.py,sha256=e4g9URQBE23XN2dGomldj8wC6NlDWBBSVC5Bmd8giBc,5993
|
20
|
-
p115client-0.0.5.6.
|
21
|
-
p115client-0.0.5.6.
|
22
|
-
p115client-0.0.5.6.
|
23
|
-
p115client-0.0.5.6.
|
20
|
+
p115client-0.0.5.6.5.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
|
21
|
+
p115client-0.0.5.6.5.dist-info/METADATA,sha256=BZUJI_fN2MtqckSjUf8mdFUmzlEjZwlExlCP4o9_HV8,8233
|
22
|
+
p115client-0.0.5.6.5.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
23
|
+
p115client-0.0.5.6.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|