GithubHelp home page GithubHelp logo

amirulandalib / videodownloaderbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from videomasters/videodownloaderbot

0.0 0.0 0.0 1.03 MB

Download videos using this telegram bot

Shell 0.57% Python 80.80% Jupyter Notebook 17.67% Dockerfile 0.96%

videodownloaderbot's Introduction

VideoDownloaderBot

Download videos from various websites using this telegram bot

Docker (Easiest)

  • Make sure docker is installed and running
    # Create ~/vdb.env file with appropriate values.
    docker run -d --restart=always --env-file ~/vdb.env deshdeepak1/video_downloader_bot:latest

Manually

  • Make sure docker is installed and running
    git clone https://github.com/DaruaraFriends/VideoDownloaderBot
    cd VideoDownloaderBot
    docker build -t vdb .
    cp sample.env .env
    # Change values in .env
    docker run -d --restart=always --env-file .env vdb

Colab

Open In Colab

Heroku

Easy Way

Deploy

Docker

  • Make sure heroku-cli is installed npm i -g heroku
    heroku login
    git clone https://github.com/DaruaraFriends/VideoDownloaderBot
    cd VideoDownloaderBot
    heroku create
    heroku stack:set container
    git push heroku main

Python

  • Make sure python3, ffmpeg, aria2 are installed
    git clone https://github.com/DaruaraFriends/VideoDownloaderBot
    cd VideoDownloaderBot
    cp sample.env .env
    # Change values in .env
    python3 -m venv venv
    . ./venv/bin/activate
    pip install -r ./requirements.txt
    python3 bot.py

.env

    API_ID=12345 # Get from https://my.telegram.org/apps
    API_HASH=abcdef # Get from https://my.telegram.org/apps
    BOT_TOKEN=123:abc # Get from https://t.me/BotFather
    AUTH_USERS=123,456 # User ids of those who can use bot anywhere without limit
    GROUPS=123,456 # Chat ids where you wan't many to use the bot
    JSON_GROUPS=123,456 # Chat ids where you wan't many to use the bot to download from jsons
    THUMB=thumb.jpg # Url of video thumbnail. Leave to use video's thumbnail
    NAME=Deshdeepak # Name to send with video

Instructions

  • /download_link - To download from links
  • /download_json - To download from jsons
  • /download_link@bot_username & /download_json@bot_username - To use in groups

videodownloaderbot's People

Contributors

deshdeepak1 avatar noahsarkq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.