p115client 0.0.5.6.4__tar.gz → 0.0.5.6.5__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.4 → p115client-0.0.5.6.5}/PKG-INFO +1 -1
  2. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/client.py +2 -0
  3. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/pyproject.toml +1 -1
  4. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/LICENSE +0 -0
  5. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/__init__.py +0 -0
  6. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/_upload.py +0 -0
  7. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/const.py +0 -0
  8. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/exception.py +0 -0
  9. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/py.typed +0 -0
  10. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/tool/__init__.py +0 -0
  11. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/tool/download.py +0 -0
  12. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/tool/edit.py +0 -0
  13. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/tool/export_dir.py +0 -0
  14. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/tool/fs_files.py +0 -0
  15. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/tool/iterdir.py +0 -0
  16. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/tool/life.py +0 -0
  17. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/tool/pool.py +0 -0
  18. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/tool/request.py +0 -0
  19. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/tool/upload.py +0 -0
  20. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/tool/xys.py +0 -0
  21. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/p115client/type.py +0 -0
  22. {p115client-0.0.5.6.4 → p115client-0.0.5.6.5}/readme.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: p115client
3
- Version: 0.0.5.6.4
3
+ Version: 0.0.5.6.5
4
4
  Summary: Python 115 webdisk client.
5
5
  Home-page: https://github.com/ChenyangGao/p115client
6
6
  License: MIT
@@ -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,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "p115client"
3
- version = "0.0.5.6.4"
3
+ version = "0.0.5.6.5"
4
4
  description = "Python 115 webdisk client."
5
5
  authors = ["ChenyangGao <wosiwujm@gmail.com>"]
6
6
  license = "MIT"
File without changes
File without changes