p115client 0.0.5.11.8__py3-none-any.whl → 0.0.5.11.8.1__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
@@ -3579,7 +3579,7 @@ class P115OpenClient(ClientRequestMixin):
3579
3579
  payload = {"file_id": payload}
3580
3580
  elif isinstance(payload, str):
3581
3581
  if payload.startswith("0") or payload.strip(digits):
3582
- if not payload.startswith(("/", "<")):
3582
+ if not payload.startswith(("/", ">")):
3583
3583
  payload = "/" + payload
3584
3584
  payload = {"path": payload}
3585
3585
  else:
@@ -6072,7 +6072,8 @@ class P115Client(P115OpenClient):
6072
6072
  check_response(resp)
6073
6073
  tip_txt = resp["data"]["tip_txt"]
6074
6074
  return {
6075
- "name": tip_txt[:tip_txt.rfind("已经过")],
6075
+ "app_id": app_id,
6076
+ "name": tip_txt[:-10].removeprefix("\ufeff"),
6076
6077
  "icon": resp["data"]["icon"],
6077
6078
  }
6078
6079
  return run_gen_step(gen_step, may_call=False, async_=async_)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: p115client
3
- Version: 0.0.5.11.8
3
+ Version: 0.0.5.11.8.1
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=RTYpM_EDFuI3O7yf08f13NdeG0iD03o_V4H6Je6Nsr8,30754
4
- p115client/client.py,sha256=YxVXjcnVZM5iCPFfpJGEdCP57mpKFUxXAhfsg6ZMobY,779699
4
+ p115client/client.py,sha256=ro8Qk1RiKMzMRyg19eRvVTBFF-9lgKZoOYq2FiDff5w,779734
5
5
  p115client/const.py,sha256=KqDGr9KsOnSkNVM3RIdQGptCMHbidMmZ_ffyFPiniww,7654
6
6
  p115client/exception.py,sha256=4SZ8ubOLMRxtcqc0u1kNzXqH1a6wwXJFwGnRDURoEgQ,3708
7
7
  p115client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -20,7 +20,7 @@ p115client/tool/upload.py,sha256=i6laoeG7GdNO7hvCDVBy8Yv2Is800wL7O5na6a3v70g,159
20
20
  p115client/tool/util.py,sha256=0o9TrXdoPcljgxDDRdxRon41bq1OjuUYCWsR0XLfmPo,3357
21
21
  p115client/tool/xys.py,sha256=vU28Px2yeQzIxxGkopJIpvV6TdOnWJ5xB6NPXpTgM0Y,10306
22
22
  p115client/type.py,sha256=7kOp98uLaYqcTTCgCrb3DRcl8ukMpn7ibsnVvtw2nG8,6250
23
- p115client-0.0.5.11.8.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
24
- p115client-0.0.5.11.8.dist-info/METADATA,sha256=Ng7fJ9yIRTxGaXzAqM8rHjbRmgVlt-hdDoJ8C9dlJYM,8192
25
- p115client-0.0.5.11.8.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
26
- p115client-0.0.5.11.8.dist-info/RECORD,,
23
+ p115client-0.0.5.11.8.1.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
24
+ p115client-0.0.5.11.8.1.dist-info/METADATA,sha256=e-F1jCsLHlXC-jCgUfDJcvKcjZpn7OwX8H9Hu7yu6nE,8194
25
+ p115client-0.0.5.11.8.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
26
+ p115client-0.0.5.11.8.1.dist-info/RECORD,,