ahmcho / downloader-bot

A Telegram bot that you can use to download videos on your server / PC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.
  • Create .env file and enter the following variables:
    • BOT_TOKEN - Token of your Telegram bot
    • ME - Obtain from_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.

About

A Telegram bot that you can use to download videos on your server / PC


Languages

Language:JavaScript 100.0%