Skip to content

A Telegram bot that allows users to search for songs on YouTube Music and download them as MP3 files.

Notifications You must be signed in to change notification settings

mhergoorgenian/YouTubeMusicTelegramBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

YouTube Music Telegram Bot

A Telegram bot that allows users to search for songs on YouTube Music and download them as MP3 files.

Usage

  1. Install the required dependencies:

    • youtube_dl
    • telebot
    • ytmusicapi
  2. Obtain a Telegram bot token from BotFather.

  3. Replace 'YOUR_BOT_TOKEN' in the code with your actual bot token.

  4. Start the bot script.

  5. Open a conversation with the bot on Telegram.

  6. Send the name of a song to the bot.

  7. The bot will search for the song on YouTube Music.

  8. If a matching result is found, the bot will reply with the song as an MP3 audio file.

Configuratio

No additional configuration is required for this project.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to submit a pull request or open an issue.

Credits

  • youtube_dl - Python library for downloading YouTube videos
  • telebot - Python library for building Telegram bots
  • ytmusicapi - Python library for interacting with the YouTube Music API

Acknowledgements

Special thanks to BotFather for providing the Telegram bot platform.

About

A Telegram bot that allows users to search for songs on YouTube Music and download them as MP3 files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages