AcFun 投稿工具
基于 Python 的命令行投稿工具
安装
pip install acfun_upload
使用
from acfun_upload import AcFun
acfun = AcFun()
acfun.login(username="", password="")
acfun.create_douga(...)
create_douga 参数
| 参数 | 注释 | 是否必须 | 类型 |
|---|---|---|---|
| file_path | 视频文件路径,建议绝对路径 | 是 | str |
| title | 稿件标题 | 是 | str |
| channel_id | 频道 ID,查看:频道 ID 汇总 | 是 | int |
| cover | 视频封面图片路径,建议绝对路径 | 是 | str |
| desc | 稿件简介 | 否 | str |
| tags | 稿件标签 | 否 | list |
| creation_type | 创作类型 1:转载 3:原创,默认1 | 是 | int |
| originalLinkUrl | 转载来源 | 否 | str |
License
Metadata
Release files for acfun-upload 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| acfun_upload-0.0.3.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acfun_upload-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.3 kB
Release files / acfun_upload-0.0.3.tar.gz
| Download URL | acfun_upload-0.0.3.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa2d98747f0c6b6cf8015a63b9f8820444d5d8a3d8146ceefafe5bae2fb14a08
|
|
BLAKE2b-256 checksum How to use checksums |
3c6056c854122b42ddf4f5b88d9a2bffbdeff87ff4884d13172251790826aca7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Release files / acfun_upload-0.0.3-py3-none-any.whl
| Download URL | acfun_upload-0.0.3-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ec2c69f5628287d884bf0e169cbaf1624493d9b5d7c02f5b89dd837699860ed
|
|
BLAKE2b-256 checksum How to use checksums |
bce22ca5bd16c03aa64f6a9596da9f308299054793ff4d7157ca06663daf6fbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|