p123client 0.0.6.9__tar.gz → 0.0.6.9.1__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.
- {p123client-0.0.6.9 → p123client-0.0.6.9.1}/PKG-INFO +1 -1
- {p123client-0.0.6.9 → p123client-0.0.6.9.1}/p123client/client.py +1 -1
- {p123client-0.0.6.9 → p123client-0.0.6.9.1}/p123client/tool/__init__.py +3 -3
- {p123client-0.0.6.9 → p123client-0.0.6.9.1}/pyproject.toml +1 -1
- {p123client-0.0.6.9 → p123client-0.0.6.9.1}/LICENSE +0 -0
- {p123client-0.0.6.9 → p123client-0.0.6.9.1}/p123client/__init__.py +0 -0
- {p123client-0.0.6.9 → p123client-0.0.6.9.1}/p123client/const.py +0 -0
- {p123client-0.0.6.9 → p123client-0.0.6.9.1}/p123client/exception.py +0 -0
- {p123client-0.0.6.9 → p123client-0.0.6.9.1}/p123client/py.typed +0 -0
- {p123client-0.0.6.9 → p123client-0.0.6.9.1}/p123client/type.py +0 -0
- {p123client-0.0.6.9 → p123client-0.0.6.9.1}/readme.md +0 -0
@@ -7604,4 +7604,4 @@ class P123Client(P123OpenClient):
|
|
7604
7604
|
# TODO: 添加 图床 的操作接口
|
7605
7605
|
# TODO: 添加 视频转码 的操作接口
|
7606
7606
|
# TODO: 对于某些工具的接口封装,例如 重复文件清理
|
7607
|
-
# TODO:
|
7607
|
+
# TODO: 开放接口有更新了(全部添加后,版本号可以来到 0.0.7),从此开始 https://123yunpan.yuque.com/org-wiki-123yunpan-muaork/cr6ced/xogi45g7okqk7svr
|
@@ -494,7 +494,7 @@ def share_iterdir(
|
|
494
494
|
- 如果返回值是 True,则输出此节点
|
495
495
|
|
496
496
|
:param cooldown: 两次调用之间,冷却的时间(用两次调用开始时的时间差,而不是一次完成到下一次开始的时间差)
|
497
|
-
:param base_url:
|
497
|
+
:param base_url: 基地址,如果为空,则用默认
|
498
498
|
:param async_: 是否异步
|
499
499
|
:param request_kwargs: 其它请求参数
|
500
500
|
|
@@ -502,8 +502,8 @@ def share_iterdir(
|
|
502
502
|
"""
|
503
503
|
if share_key.startswith(("http://", "https://")):
|
504
504
|
urlp = urlsplit(share_key)
|
505
|
-
if not base_url:
|
506
|
-
|
505
|
+
# if not base_url:
|
506
|
+
# base_url = f"{urlp.scheme}://{urlp.netloc}"
|
507
507
|
share_key = urlp.path.rsplit("/", 1)[-1]
|
508
508
|
if not share_pwd:
|
509
509
|
share_pwd = urlp.query.rpartition(":")[-1]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|