Licence
MIT
Version
1.0.6
Deps
1
Size
35 kB
Vulns
23
Weekly
0
ytfps
YouTube Full Playlist Scraper
Tiny module to scrap youtube playlist metadata and its videos (not limited to 100)
Install
npm install ytfps
Usage
const ytfps = require('ytfps');
// TypeScript: import ytfps from 'ytfps'; //with --esModuleInterop
ytfps('PLAbeRqyTx1rIGWY13HgPyh0VF0LdoTQFp').then(playlist => {
do_something(playlist);
}).catch(err => {
throw err;
});
API
ytfps(id)
Scraps the supplied playlist and returns a promise with its metadata.
id- youtube playlist's id
- or youtube playlist's URL
License
MIT