Z
Z
Zhenia Bel2020-10-28 00:17:56
YouTube
Zhenia Bel, 2020-10-28 00:17:56

How to make a bot that downloads music from youtube?

Does someone know how to make this kind of bot, or does someone know some video tutorials on how to make such a bot?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
Pavel Shvedov, 2020-10-28
@mmmaaak

Decompose the task into smaller ones:
1) How to make a telegram bot in general
- how to do it specifically on Python
2) How to download music from YouTube in general
- how to do it on Python You glue
two solutions into one and get the result. When you formulate a complex compound problem, it is also difficult to approach it. And it is also difficult to answer such questions briefly.

K
krundetz, 2020-10-28
@krundetz

if you do it for a telegram, then
youtube-dl is responsible for downloading
telebot is responsible for the insides of the bot,
you make the binding such as you need
something like this

L
Lord_Dantes, 2020-10-28
@Lord_Dantes

@SongRefBot

U
UberPool, 2020-10-28
@UberPool

1.To create a bot, use api or a library. I use telebot.
2. To download the video, use youtube-dl
Sources to help:
Writing a bot (TelegramBotAPI).
Youtube-dl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question