p115client 0.0.5.6.5__tar.gz → 0.0.5.6.6__tar.gz

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.
Files changed (22) hide show
  1. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/PKG-INFO +1 -1
  2. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/client.py +3 -0
  3. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/pyproject.toml +1 -1
  4. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/LICENSE +0 -0
  5. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/__init__.py +0 -0
  6. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/_upload.py +0 -0
  7. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/const.py +0 -0
  8. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/exception.py +0 -0
  9. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/py.typed +0 -0
  10. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/tool/__init__.py +0 -0
  11. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/tool/download.py +0 -0
  12. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/tool/edit.py +0 -0
  13. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/tool/export_dir.py +0 -0
  14. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/tool/fs_files.py +0 -0
  15. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/tool/iterdir.py +0 -0
  16. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/tool/life.py +0 -0
  17. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/tool/pool.py +0 -0
  18. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/tool/request.py +0 -0
  19. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/tool/upload.py +0 -0
  20. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/tool/xys.py +0 -0
  21. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/p115client/type.py +0 -0
  22. {p115client-0.0.5.6.5 → p115client-0.0.5.6.6}/readme.md +0 -0
@@ -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
@@ -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
  [tool.poetry]
2
2
  name = "p115client"
3
- version = "0.0.5.6.5"
3
+ version = "0.0.5.6.6"
4
4
  description = "Python 115 webdisk client."
5
5
  authors = ["ChenyangGao <wosiwujm@gmail.com>"]
6
6
  license = "MIT"
File without changes
File without changes