Giter Site home page Giter Site logo

ytomp3's Introduction

ytomp3 ๐ŸŽต

Simple video search bot for telegram that lets the user search for videos on youtube via inline command. Now you can take full advantage of telegrams unlimited free storage and built in mp3 player without having to worry about backing up your songs or loosing them!! Now with added support for mp4 format too !!

Requirements [self hosting]

1. Inline telegram bot 
2. Bot Tokem from botfather
3. Youtube V3 API creds

Steps for self hosting

  • Clone the repo
  • Run pip install -r requirements.txt
  • Create an inline bot using botfather ( look here if unsure on the steps )
  • You will get a bot-token paste that in bot.py and mp3dldr.py and mp4dldr.py
  • you will need to get your API keys for youtube from here
  • Put the API creds in yt_search.py
  • Run bot.py python3 bot.py

Usage

  • type @botusername in message field and type the video name (might take a few sec for video to appear )
  • Wait till the video appears and click on it
  • press the convert to mp3/convert to mp4 button which appears after that
  • Wait for it to convert
  • video will be downloaded

PS: This bot is made purely for educational purposes and getting an understanding of the bot api. Certain songs are not meant to be downloaded do check TOS of youtube.

ytomp3's People

Contributors

vishvesh-rao 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.