115 网盘二维码扫码登录
Project description
115 网盘二维码扫码登录.
安装
你可以通过 pypi 安装
pip install -U p115qrcode
使用
作为模块
详情请查看具体函数的文档
import p115qrcode
作为命令行
$ p115qrcode -h
usage: p115qrcode [-h] [-l] [-v] {cmd,web} ...
115 网盘扫码登录
positional arguments:
{cmd,web}
options:
-h, --help show this help message and exit
-l, --license 输出授权信息
-v, --version 输出版本号
$ p115qrcode cmd -h
usage: p115qrcode cmd [-h] [-o OUTPUT_FILE] [-oq] [-c COOKIES] [-cp COOKIES_PATH] [-l] [-v]
[{web,ios,115ios,android,115android,115ipad,tv,qandroid,wechatmini,alipaymini,harmony}]
115 网盘扫码登录(命令行版)
positional arguments:
{web,ios,115ios,android,115android,115ipad,tv,qandroid,wechatmini,alipaymini,harmony}
选择一个 app 进行登录,默认值 'alipaymini'
options:
-h, --help show this help message and exit
-o OUTPUT_FILE, --output-file OUTPUT_FILE
保存到文件,未指定时输出到 stdout
-oq, --open-qrcode 在浏览器中打开二维码,而不是在命令行输出
-c COOKIES, --cookies COOKIES
115 登录 cookies 或二维码的 uid,使用后可以自动扫码,优先级高于 -cp/--cookies-path
-cp COOKIES_PATH, --cookies-path COOKIES_PATH
cookies 文件保存路径,使用后可以自动扫码
-l, --license 输出授权信息
-v, --version 输出版本号
$ p115qrcode web -h
usage: p115qrcode web [-h] [-H HOST] [-P PORT] [-c] [-d] [-l] [-v]
115 网盘扫码登录(网页版)
options:
-h, --help show this help message and exit
-H HOST, --host HOST ip 或 hostname,默认值:'localhost'
-P PORT, --port PORT 端口号,默认值:8000
-c, --cors 标识浏览器已经使用 CORS 插件,因此不需要后台代理接口的调用
-d, --debug 启用 debug 模式
-l, --license 输出授权信息
-v, --version 输出版本号
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
p115qrcode-0.0.5.1.tar.gz
(35.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file p115qrcode-0.0.5.1.tar.gz.
File metadata
- Download URL: p115qrcode-0.0.5.1.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.4 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51de59cc9966f2cd5a3b0b885e0e9e0f239569995f891174578cddb4aa759e6e
|
|
| MD5 |
473a0985a79a769ace2adc96d0c0803a
|
|
| BLAKE2b-256 |
0aade93733a38d963450fb8261fd2a3ab8b65cfc2e0cc7a91d4ce3060de2064c
|
File details
Details for the file p115qrcode-0.0.5.1-py3-none-any.whl.
File metadata
- Download URL: p115qrcode-0.0.5.1-py3-none-any.whl
- Upload date:
- Size: 50.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.4 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
968bbe16d5311056ebfdc3350a0c3d09b439b22784368de85aa556ffe3b49782
|
|
| MD5 |
8298a10aeb73b0c7c4c4499a70513a76
|
|
| BLAKE2b-256 |
af3359bd9dd1155f003ec2ae4df324e5c0691bdaf6a9793f6d5015be94bd6c8b
|