Aruelius / acfun_upload

AcFun 命令行投稿工具。Upload video to AcFun with Python.
GNU General Public License v3.0
7 stars 3 forks source link

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

GNU General Public License v3.0