Giter Club home page Giter Club logo

youtubechatbot's Introduction

youTubeChatBot

API 账号设置

  1. 前往 Google API Console
  2. 创建一个新的项目(Project)
  3. 中启用YouTube Data API v3
  4. 前往凭据创建 OAuth 客户端 ID, 在已获授权的重定向 URI中填入http://localhost:12000/callback
  5. 如果没有创建过OAuth 同意屏幕的话则还需创建OAuth 同意屏幕
  6. 从创建的客户端中获取客户端ID(clientId), 已获授权的重定向 URI(redirectURI)客户端密钥(clientSecret) 并填入config.js

前置条件

Nodejs, Npm

安装

npm install

使用

  • node server.js
  • 前往浏览器打开http://localhost:12000
  • Authorize登录你想发聊天的账号
  • Get Active Chat获取*蝗直播间聊天室id
  • Start ChatBot 开冲!
  • Stop ChatBot 停止复读,并保存聊天历史至chat_{timestamp}.log可供分析使用

youtubechatbot's People

Contributors

fckcoco avatar

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.