涉及周刊哔哩哔哩排行榜制作相关的脚本
- Adobe After Effects 使用 CC2019(v16.1.3) 或 CC2020(v17.7.0)
- Adobe Media Encoder 使用 CC2019(v13.1.5) 或 CC2020(v14.9.0)
- FFMPEG 使用 v4.3.2-2021-02-02
添加
ffmpeg.exe
路径到系统$PATH
变量 - PowerShell 使用 v7.1.2
安装 powershell-yaml 模块
Install-Module powershell-yaml
- For Chrome
- 安装插件 Get cookies.txt
- 登录哔哩哔哩,页面右键菜单选择
Get cookies.txt
- 将导出的
bilibili.com_cookies.txt
放在脚本工作目录下
- For Firefox
- 安装插件 cookies.txt
- 登录哔哩哔哩,工具栏菜单单击
Export cookies
,选择Current Site
- 将导出的
cookies.txt
重命名为bilibili.com_cookies.txt
放在脚本工作目录下
- For Microsoft Edge
- 安装插件 Cookie Editor
- 工具栏菜单单击
Cookie Editor
,点击Options
扳手图标 - 在
Choose the preferred export format for cookies
下拉菜单中选择Netscape HTTP Cookie File
- 登录哔哩哔哩,工具栏菜单单击
Cookie Editor
,点击Export
扳手图标 - 在脚本工作目录下新建
bilibili.com_cookies.txt
并打开,粘贴复制的 Cookie 内容,保存文件
- 由神秘的 bilibiliran 提供周刊所需数据的 yaml 格式文件
- 制作排行版需要的相关图片,包括 STAFF 列表,开头结尾的 Free Talk,ED 使用的 BGM 信息,以及人工指定的 Pickup 栏目等
- 执行
download.ps1
下载周榜中使用到的所有视频原素材 - 选取周榜中所展示的视频片段,记录片段起始时间
- 执行
normalize.ps1
裁剪视频,并标准化音频音量 - 启动 After Effects, 执行脚本
autobilibilirank.jsx
自动导入素材生成周刊工程文件并渲染 - 执行
rankdoor.ps1
生成评论区传送门
- 使用 PowerShell 重写
rankdoor.py
功能 - 调整 Artificial Idiot 算法自动化视频选段步骤
- 视频渲染完成后自动投稿