Ragug / nodejsbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YouTube Bot Downloader Script

ytbBotDler

YouTube Bot Downloader Script , This script was made for a Telegram bot that allows you to download any Movies/Clips from YouTube .

Dependencies

This script requires following package to be installed .

  • bot-brother
  • youtube-dl

Also, you need to create a Telegram Bot.

How to install

To install this script, run these commands:

$ git clone https://github.com/blackhair/ytbBotDler.git
$ cd ytbBotDler
$ npm install

Now you must change the API key in server.js file.

var bot = bb({
  key: 'YOUR-API-KEY',
  sessionManager: bb.sessionManager.memory(),
  polling: { interval: 0, timeout: 1 }
});

Then just run the below command and join with your Telegram Bot :

$ node server.js

About


Languages

Language:JavaScript 100.0%