p115client 0.0.5.6.5__py3-none-any.whl → 0.0.5.6.6__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 CHANGED
@@ -5256,6 +5256,9 @@ class P115Client(ClientRequestMixin):
5256
5256
  elif data is not None:
5257
5257
  request_kwargs["data"] = data
5258
5258
  request_kwargs.setdefault("parse", default_parse)
5259
+ if url.startswith("https://proapi.115.com/open/"):
5260
+ headers["cookie"] = ""
5261
+ return request(url=url, method=method, **request_kwargs)
5259
5262
  def gen_step():
5260
5263
  check_for_relogin = self.check_for_relogin
5261
5264
  cant_relogin = not callable(check_for_relogin)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: p115client
3
- Version: 0.0.5.6.5
3
+ Version: 0.0.5.6.6
4
4
  Summary: Python 115 webdisk client.
5
5
  Home-page: https://github.com/ChenyangGao/p115client
6
6
  License: MIT
@@ -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=E2F9OFrHIbG1HMrZ_IDoHN47OrMw4OlxWLooAfxbK7Q,698751
4
+ p115client/client.py,sha256=8BRcInx_2ACJkQJXXmxO5CYephELgJNoBgbFjWya8o8,698914
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.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,,
20
+ p115client-0.0.5.6.6.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
21
+ p115client-0.0.5.6.6.dist-info/METADATA,sha256=rqVqdxb5fojjuEff-gri7sEgMKDqraDurS8Q8biGj8M,8233
22
+ p115client-0.0.5.6.6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
23
+ p115client-0.0.5.6.6.dist-info/RECORD,,