ytdlr
Version:
Simple YouTube Download Module
23 lines (18 loc) • 519 B
Markdown
Returns video details + decoded stream urls ready to download.
```js
let ytdlr = require('ytdlr')
let vid = await ytdlr('b6BgRnzAlVA')
// { details: {…}, formats: Array(26) }
```
```html
<script src="https://git.io/ytdlr"></script>
<script>
let vid = await window.ytdlr('b6BgRnzAlVA')
// { details: {…}, formats: Array(26) }
</script>
```