Skip to content

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

License

Notifications You must be signed in to change notification settings

phamthanhhungpro/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
 https://localhost:4000/video/video?url=https://www.youtube.com/watch?v=bKDdT_nyP54
  • Download youtube Video Audio Only
https://localhost:4000/audio/audio?url=https://www.youtube.com/watch?v=bKDdT_nyP54
  • Download Facebook HD Video
https://localhost:4000/hd/video?url=https://www.facebook.com/LyricsEngsongs/videos/321854395918041/
  • Download Low Resolution Facebook Video
https://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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 64.9%
  • HTML 35.0%
  • Procfile 0.1%