Downloader Bot
Features
- Uses Telegraf.js framework
- Downloads from various websites such as YouTube, Facebook, Reddit and etc.
- Ability to download YouTube music videos directly to .mp3
- Rich UI to show statistics of each downloadable file.
- Automatic channel / playlist detection for YouTube.
- Provided the cookie is present, ability to bypass restrictions .
Prerequisites
Prerequisites |
---|
Node JS |
yt-dlp |
ffmpeg |
Installation
- Clone the repo or download the
.zip
file- If you downloaded
.zip
file, unpack it anywhere you want.
- If you downloaded
- Create
.env
file and enter the following variables:BOT_TOKEN
- Token of your Telegram botME
- Obtainfrom_id
of your profile ( it will be used, so no one but you can access the bot )DEFAULT_DOWNLOAD_LOCATION
- Download folder. E.g:C:\/Downloads\/
TELEGRAPH_TOKEN
optional - Telegra.ph token
- Run
npm install
to install all necessary node modules.