Skip to content

Dreaght/MAX_YouTube_Userbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAX YouTube Userbot

Tiny WebSocket bot for MAX chat:

  • listens for messages in one chat,
  • detects YouTube video links,
  • downloads the video to local cache,
  • sends progress updates,
  • uploads the video to chat,
  • removes cached file.

Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Create .env from .env.example and set required values:
  • MAX_WS_TOKEN
  • MAX_CHAT_ID

Run

python main.py

Notes

  • Cache folder: .cache/youtube/
  • Raw WebSocket events are printed for debugging.

About

YouTube video downloader MAX userbot

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages