AcFun 命令行投稿工具。Upload video to AcFun with Python.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
acfun_upload-0.0.2.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for acfun_upload-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ccff11ea1ede25efdbaf71535a8feac83a0c8c272ce9258ff57b5589520c18c |
|
MD5 | 9f5e2e29850debe419a70c9bf0ec6d9b |
|
BLAKE2b-256 | cfbbe8e2bf564486dc4f43ffd852b95d5a5932bdba3bef69e956f7798a31d42d |