Giter VIP home page Giter VIP logo

youtube_livestream_chatbot's Introduction

YouTube Live Stream Chatbot

This Chat Bot was developed using YouTube Data & Live Streaming API v3 in Python

The bot replies to live chat messages in a Live Stream (obviously :p). It currently has a limited set of commands to respond to, but you can easily add more.

⬇️ How to setup

  1. Goto Google Developers Console and create a new project.

  2. Enable YouTube Data API v3

  3. Then from the Credentials tab, create a new OAuth Client ID and select the Web Application option. In the "Authorized redirect URIs" section, add the redirect URI you want to use. In the case of this project you will type "http://localhost:5500/" (you can use any port but I am specifically using 5500 as I have declared that as my auth uri in the auth.py script) and click Save.

  4. Create a .env file in your project directory and copy/paste the Client ID and Client Secret in the file.

  5. Then Copy & Paste the following commands in your terminal:

git clone https://github.com/gulraiznoorbari/YouTube_Live_Stream_Chat_Bot.git
cd YouTube_Live_Stream_Chat_Bot
python bot.py

The bot will ask you to authenticate yourself with your Google Account.

After that, you will be prompted to enter a Live Stream Id in you terminal:

www.youtube.com/watch?v=qDWw4sAD3zY

Here, the Live Stream Id is qDWw4sAD3zY

👨‍💻 Author

You can get in touch with me on my LinkedIn Profile:

Gulraiz Noor Bari

LinkedIn Link
You can also follow my GitHub Profile to stay updated about my latest projects: GitHub Follow

If you liked the repo then kindly support it by giving it a star ⭐!

Contributions Welcome

forthebadge

If you find any bug in the code or have any improvements in mind then feel free to generate a pull request.

youtube_livestream_chatbot's People

Contributors

gulraiznoorbari avatar kolya142 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

youtube_livestream_chatbot's Issues

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.