Giter Club home page Giter Club logo

u-to-b's Introduction

投稿姬

把YouTube视频自动搬运到B站的机器人,通过一行命令调用。

快速开始

# 1.本地安装
git clone https://github.com/yesmore/U-To-B.git
cd U-To-B
sudo bash setup.sh

# 2.使用biliup登录账号 
#  biliup是一个B站命令行投稿工具, 官网 https://biliup.github.io/biliup-rs
#  在不同平台需要下载对应二进制文件,下载教程:https://biliup.github.io/biliup-rs/Installation.html,本项目默认使用mac包
./biliup login

# 3.启动项目
#  在运行下面这行命令之前请先参照下文中 `参数修改` 中的 1、2 步对 task_manager.py 和 new_downloader.py 做出修改
sudo bash start.sh 

参数修改

  • 1.将task_manager.py中的OWNER变量改为自己的uid.
  • 2.将new_downloader.py中的OWNER_NAME变量改为自己的用户名.
  • 3.运行:
sudo bash setup.sh && sudo bash start.sh 

调用命令

python3 new_downloader.py <url> <tid>

如:

python3 new_downloader.py https://www.youtube.com/watch?v=xxxxxxxxx 21

tid参考:https://biliup.github.io/tid-ref.html

示例demo

盛佳冉

u-to-b's People

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.