Skip to content

Video Downloader πŸ“₯ - Download Facebook Video and Youtube Video and Audio.

License

Notifications You must be signed in to change notification settings

mskian/video-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Video Downloader πŸ“₯

API Test

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 - index.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 (Not Working) βœ‚

Extract Downloadable Link From Facebook Due to recent changes in fb this method is not working

  • 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