GithubHelp home page GithubHelp logo

bplaytv / video-dl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mskian/video-dl

0.0 0.0 1.0 252 KB

Video Downloader ๐Ÿ“ฅ - Download Facebook Video and Youtube Video and Audio.

Home Page: https://sandl.vercel.app/

License: MIT License

JavaScript 64.95% HTML 35.05%

video-dl's Introduction

Video Downloader ๐Ÿ“ฅ

API Test dependencies Status

Video Downloader - Download Facebook Video and Youtube Video and Audio.

๐Ÿค– Easy to use - Just add the URL Done...!

Built with ๐Ÿ“ฆ

Usage โœจ

  • Clone or download the repo
git clone https://github.com/mskian/video-dl.git
cd video-dl
yarn install
  • start the server
yarn start
  • Download Youtube video
 http://localhost:4000/video/video?url=https://www.youtube.com/watch?v=bKDdT_nyP54
  • Download youtube Video Audio Only
http://localhost:4000/audio/audio?url=https://www.youtube.com/watch?v=bKDdT_nyP54
  • Download Facebook HD Video
http://localhost:4000/hd/video?url=https://www.facebook.com/LyricsEngsongs/videos/321854395918041/
  • Download Low Resolution Facebook Video
http://localhost:4000/low/video?url=https://www.facebook.com/LyricsEngsongs/videos/321854395918041/

Try Online ๐ŸŒ

Formats ๐Ÿ“ผ

  • if you want to Change youtube Video & Audio Quality/Formats
ytdl(url, {
            format: 'mp3',
            filter: 'audioonly',
            quality: 'highest'
        }).pipe(res);
ytdl(url, {
            format: 'mp4',
            quality: 'highest'
        }).pipe(res);

For More check- https://github.com/fent/node-ytdl-core#ytdlchooseformatformats-options

Free Deploy ๐Ÿ”

  • Deploy on Heroku - app.js

Deploy

  • Deploy on Vercel - index.js

โš  Vercel having RUNTIME Failed issue while downloading the youtube Video - vercel/vercel#3825

Deploy with Vercel

Extract Downloadable Link โœ‚

Extract Downloadable Link From Facebook

  • Download link (Low and Hight)
  • Title
  • slug (used for file naming)

lib/fbvid.js

const fbvid = require('./lib/fbvid.js');

const video = 'https://www.facebook.com/LyricsEngsongs/videos/321854395918041/';

fbvid.low(video).then(vid => {
  console.log(vid)
});

fbvid.high(video).then(vid => {
  console.log(vid);
});

fbvid.title(video).then(vid => {
    console.log(vid);
});

fbvid.slug(video).then(vid => {
    console.log(vid);
});

Disclaimer โš 

  • Use this as your Personal Tool if you are going to this on Production Please read the terms and Policy from Facebook & Youtube.
  • This Tool does not Host any Pirated or Copyright content on its server and all
  • We are not Affiliate or Authorized with Facebook - This Tool only for Educational Purpose.
  • The videos or images that you downloaded to your System or Mobile directly from their respective CDN servers.

LICENSE โ˜‘

MIT

video-dl's People

Contributors

mskian avatar renovate-bot avatar

Forkers

massindv

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.