度盘令
目的
用程序做百度盘 Web 界面可以做的所有(Almost)事情。模块化。
- 读。列表、查看
- 写。复制、移动、删除、分享。
方式
- 抓取 iPhone 客户端的 HTTP 请求,录下 HAR
- 用 Python 程序 仿制这些请求
- 形成模块
- 封装一个 Cli
CLI 的假想模式
>>> dp = dupan(user="neoney", bduss="")
>>> dp.list('/')
>>> dp.stat('/manga')
>>> dp.cd('/manga')
>>> dp.mkdir('/manga/arakawa')
>>> dp.cp('/manga/hagaren.zip', '/manga/arakawa/hagaren.zip')
>>> dp.move('/manga/hagaren.zip', '/manga/arakawa/hagaren.zip')
>>> dp.delete('/manga/hagaren.zip')
>>> dp.share('/manga/arakawa/hagaren.zip')
>>> dp.sharings
>>>
Metadata
Release files for dupan 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dupan-0.1.tar.gz | 1.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dupan-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.3 kB
Release files / dupan-0.1.tar.gz
| Download URL | dupan-0.1.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
757f20d721b4508b01145f292c28de9d2b68e68b3cf838f2c0a683a3be1a302d
|
|
BLAKE2b-256 checksum How to use checksums |
f4c4706ac7aecbb78706f5ae806d821e87644068bea0646762aa44bb8646baa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4
|
Release files / dupan-0.1-py3-none-any.whl
| Download URL | dupan-0.1-py3-none-any.whl |
|---|---|
| Size | 1.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
459b40dbd215cc8717feca8c11708a76a6e0402a8cbc40503fb96c0b55d6ff00
|
|
BLAKE2b-256 checksum How to use checksums |
aa8c53035d3d4f60c547a4ac12168fa245910b2b2b3f51bcf6ba82a373637d54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4
|