Code Monkey home page Code Monkey logo

medusamusic's Introduction

MedusaMusic



A Telegram bot for Download songs in mp3 format from YouTube and Extract lyrics from Genius.com ❤️


Commands

Reach @MedusaMusic on Telegram

  • /start - Check if the bot online
  • /song TWICE Alcohol Free - Just replace the 'TWICE Alcohol Free' with a song name what you want
  • /lyrics Imagine Dragons Battle Cry - Just replace the 'Imagine Dragons Battle Cry' with a song name what you want

Run Locally

Requirements

  • Python 3.8+
  • FFmpeg
  • Git Bash
  • Your Telegam API Hash & ID
  • Bot Token

  • Clone the repo
$ git clone https://github.com/bibee-emio/MedusaMusic
  • Change the Directory
$ cd MedusaMusic
  • Install the requirements using pip
$ pip3 install -r requirements.txt
  • Edit the config.py with your own values
  • Run the bot
$ python3 medusa.py

Deploy to Heroku


  • Fork the repo
  • Just click the button below & follow the steps
Deploy

Special Credits

Fork the repo | Put a start | Follow me on github

Thank You❤️

medusamusic's People

Contributors

bibee-emio avatar

Stargazers

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

Watchers

 avatar

medusamusic's Issues

Suggest to loosen the dependency on pytube

Dear developers,

Your project MedusaMusic requires "pytube==11.0.1" in its dependency. After analyzing the source code, we found that the following versions of pytube can also be suitable without affecting your project, i.e., pytube 11.0.0, 11.0.2, 12.0.0. Therefore, we suggest to loosen the dependency on pytube from "pytube==11.0.1" to "pytube>=11.0.0,<=12.0.0" to avoid any possible conflict for importing more packages or for downstream projects that may use ddos_script.

May I pull a request to further loosen the dependency on pytube?

By the way, could you please tell us whether such dependency analysis may be potentially helpful for maintaining dependencies easier during your development?



Details:

Your project (commit id: c730c8d) directly uses 1 APIs from package pytube.

pytube.__main__.YouTube.__init__

Beginning fromwhich, 9 functions are then indirectly called, including 5 pytube's internal APIs and 4 outsider APIs as follows:

[/bibee-emio/MedusaMusic]
+--pytube.__main__.YouTube.__init__
|      +--pytube.extract.video_id
|      |      +--pytube.helpers.regex_search
|      |      |      +--re.compile
|      |      |      +--pytube.exceptions.RegexMatchError.__init__
|      +--pytube.monostate.Monostate.__init__
|      +--pytube.helpers.install_proxy
|      |      +--urllib.request.ProxyHandler
|      |      +--urllib.request.build_opener
|      |      +--urllib.request.install_opener

Since all these functions have not been changed between any version for package "pytube" from [11.0.0, 11.0.2, 12.0.0] and 11.0.1. Therefore, we believe it is safe to loosen the corresponding dependency.

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.