p123client 0.0.6.9.3__tar.gz → 0.0.6.9.4__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.3 → p123client-0.0.6.9.4}/PKG-INFO +11 -2
- {p123client-0.0.6.9.3 → p123client-0.0.6.9.4}/p123client/client.py +2450 -725
- p123client-0.0.6.9.4/p123client/const.py +13 -0
- p123client-0.0.6.9.4/p123client/exception.py +117 -0
- {p123client-0.0.6.9.3 → p123client-0.0.6.9.4}/pyproject.toml +2 -1
- {p123client-0.0.6.9.3 → p123client-0.0.6.9.4}/readme.md +9 -1
- p123client-0.0.6.9.3/p123client/const.py +0 -4
- p123client-0.0.6.9.3/p123client/exception.py +0 -60
- {p123client-0.0.6.9.3 → p123client-0.0.6.9.4}/LICENSE +0 -0
- {p123client-0.0.6.9.3 → p123client-0.0.6.9.4}/p123client/__init__.py +0 -0
- {p123client-0.0.6.9.3 → p123client-0.0.6.9.4}/p123client/py.typed +0 -0
- {p123client-0.0.6.9.3 → p123client-0.0.6.9.4}/p123client/tool/__init__.py +0 -0
- {p123client-0.0.6.9.3 → p123client-0.0.6.9.4}/p123client/type.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: p123client
|
3
|
-
Version: 0.0.6.9.
|
3
|
+
Version: 0.0.6.9.4
|
4
4
|
Summary: Python 123 webdisk client.
|
5
5
|
Home-page: https://github.com/ChenyangGao/p123client
|
6
6
|
License: MIT
|
@@ -33,6 +33,7 @@ Requires-Dist: python-http_request (>=0.0.7)
|
|
33
33
|
Requires-Dist: python-httpfile (>=0.0.5)
|
34
34
|
Requires-Dist: python-iterutils (>=0.2.4.1)
|
35
35
|
Requires-Dist: python-property (>=0.0.3)
|
36
|
+
Requires-Dist: qrcode
|
36
37
|
Requires-Dist: yarl
|
37
38
|
Project-URL: Repository, https://github.com/ChenyangGao/p123client
|
38
39
|
Description-Content-Type: text/markdown
|
@@ -68,6 +69,14 @@ token = "..."
|
|
68
69
|
client = P123Client(token=token)
|
69
70
|
```
|
70
71
|
|
72
|
+
不过我更推荐把 <kbd>token</kbd> 写入一个文件中,例如在 `~/123-token.txt`
|
73
|
+
|
74
|
+
```python
|
75
|
+
from pathlib import Path
|
76
|
+
|
77
|
+
client = P123Client(token=Path("~/123-token.txt").expanduser())
|
78
|
+
```
|
79
|
+
|
71
80
|
你也可以用账户和密码登录
|
72
81
|
|
73
82
|
```python
|
@@ -371,7 +380,7 @@ def export_share_files_json(
|
|
371
380
|
print("> 已拉取:", link)
|
372
381
|
print("> 已保存:", path)
|
373
382
|
|
374
|
-
|
383
|
+
export_share_files_json("https://www.123684.com/s/oec7Vv-CIYWh?提取码:ZY4K")
|
375
384
|
```
|
376
385
|
|
377
386
|
### 6. 最新的操作记录
|