ytdlr

3.0.1 • Public • Published

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://git.io/ytdlr"></script>
<script>
  let vid = await window.ytdlr('b6BgRnzAlVA')
  // { details: {…}, formats: Array(26) }
</script>

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

Package Sidebar

Install

npm i ytdlr

Weekly Downloads

1

Version

3.0.1

License

MIT

Unpacked Size

3.62 kB

Total Files

4

Last publish

Collaborators

  • bakapear