bakapear / ytdlr

Simple YouTube Download Module

Home Page:https://git.io/ytdlr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ytdlr

Simple YouTube Download Module

Returns video details + decoded stream urls ready to download.

Use as node module

let ytdlr = require('ytdlr')

let vid = await ytdlr('b6BgRnzAlVA')
// { details: {…}, formats: Array(26) }

Use in browser

<script src="https://unpkg.com/ytdlr/ytdlr.min.js"></script>
<script>
  let vid = await window.ytdlr('b6BgRnzAlVA')
  // { details: {…}, formats: Array(26) }
</script>

Fun fact: ytdlr.min.js consists of exactly 1000 bytes!

About

Simple YouTube Download Module

https://git.io/ytdlr


Languages

Language:JavaScript 100.0%