Code Monkey home page Code Monkey logo

youtube-mp3's Introduction

image

YouTube Mp3 Bot

This is a music downloader bot for members of the channel and group

Pre Requisites

Your Bot Token From @BotFather

Your APP ID And API Harsh From Telegram or @UseTGXBot

Your telegram id from Rose Bot

Your Group ID

Channel Id This is Not required 🤷

Deploy:

Deploy

tgbot

A Telegram bot made with Pyrogram Smart Plugins

Requirements

Run

  1. virtualenv venv to create a virtual environment
  2. install python3-devel zlib-devel libjpeg-turbo-devel libwebp-devel, clear cache of pip (~/.cache/pip on linux distro) for building wheel for Pillow. venv/bin/pip install -U -r requirements.txt to install the requirements
  3. Create a new config.ini file, copy-paste the following and replace the values with your own. Exclude or include plugins to fit your needs. Create config.py and add constants that are specified in module docstrings of enabled plugins.
    [pyrogram]
    api_id = 1234567
    api_hash = 0123456789abcdef0123456789abcdef
    bot_token = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
    
    [plugins]
    root = plugins
    exclude = welcome
    
  4. Run with venv/bin/python tgbot.py
  5. Stop with CTRL+C

License

AGPL-3.0-or-later

youtube-mp3's People

Contributors

dashezup avatar

Stargazers

 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.