ytb-d
TypeScript icon, indicating that this package has built-in type declarations

1.1.18 • Public • Published

ytb-d

Wrapper for youtube

Package wich allows to get music and video url of youtube

Process :

import ytbD from 'ytb-d';

ytbD({
    url: 'https://your-youtube-link.com',
    flags: {
        dumpJson: true,
        noWarnings: true,
        noCallHome: true,
        noCheckCertificate: true,
        preferFreeFormats: true,
        youtubeSkipDashManifest: true,
        referer: 'https://your-youtube-link.com'
    }
})

Give:

youtube-dl https://your-youtube-link.com --dump-json --no-warnings --no-call-home --no-check-certificate --prefer-free-formats --youtube-skip-dash-manifest --referer=https://your-youtube-link.com

For opts parameters

Takes a look at execa#options

Package Sidebar

Install

npm i ytb-d

Weekly Downloads

1

Version

1.1.18

License

ISC

Unpacked Size

6.44 kB

Total Files

16

Last publish

Collaborators

  • tibdev