Bot requires Python v3+ to run.
Install the dependencies and start the server.
$ pip3 install -r requirements.txt
$ TELEGRAM_BOT_TOKEN=XXXX:XXXXXXXX python3 main.py
Then write /s search_text
or /d youtube_video_link
to your bot in telegram chat and enjoy!
Use
setup.sh
to get the dependencies which should be installed:ffmpeg, youtube-dl, python3, pip3
then it will install required python modules fromrequirements.txt
Don't forget to makedist
directory if you haven't usedsetup.sh
script. After this use @botfather to setup your bot and get theTOKEN
For music downloader is used youtube-audio module