GithubHelp home page GithubHelp logo

foxbaby213 / bilibilirankingscripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neutralization/bilibilirankingscripts

0.0 0.0 0.0 45 KB

周刊自动化操作脚本

Home Page: https://space.bilibili.com/398300398

License: GNU General Public License v3.0

JavaScript 69.59% PowerShell 30.41%

bilibilirankingscripts's Introduction

BiliBiliRankingScripts

涉及周刊哔哩哔哩排行榜制作相关的脚本

Requirements

GetReady

  • For Chrome
  1. 安装插件 Get cookies.txt
  2. 登录哔哩哔哩,页面右键菜单选择 Get cookies.txt
  3. 将导出的 bilibili.com_cookies.txt 放在脚本工作目录下
  • For Firefox
  1. 安装插件 cookies.txt
  2. 登录哔哩哔哩,工具栏菜单单击 Export cookies,选择 Current Site
  3. 将导出的 cookies.txt 重命名为 bilibili.com_cookies.txt 放在脚本工作目录下
  • For Microsoft Edge
  1. 安装插件 Cookie Editor
  2. 工具栏菜单单击 Cookie Editor,点击 Options 扳手图标
  3. Choose the preferred export format for cookies 下拉菜单中选择 Netscape HTTP Cookie File
  4. 登录哔哩哔哩,工具栏菜单单击 Cookie Editor,点击 Export 扳手图标
  5. 在脚本工作目录下新建 bilibili.com_cookies.txt 并打开,粘贴复制的 Cookie 内容,保存文件

WorkFlow

  1. 由神秘的 bilibiliran 提供周刊所需数据的 yaml 格式文件
  2. 制作排行版需要的相关图片,包括 STAFF 列表,开头结尾的 Free Talk,ED 使用的 BGM 信息,以及人工指定的 Pickup 栏目等
  3. 执行 download.ps1 下载周榜中使用到的所有视频原素材
  4. 选取周榜中所展示的视频片段,记录片段起始时间
  5. 执行 normalize.ps1 裁剪视频,并标准化音频音量
  6. 启动 After Effects, 执行脚本 autobilibilirank.jsx 自动导入素材生成周刊工程文件并渲染
  7. 执行 rankdoor.ps1 生成评论区传送门

Todo

  • 使用 PowerShell 重写 rankdoor.py 功能
  • 调整 Artificial Idiot 算法自动化视频选段步骤
  • 视频渲染完成后自动投稿

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.