Socket
Socket
Sign inDemoInstall

@maroxy/ytfps

Package Overview
Dependencies
2
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @maroxy/ytfps

scraps youtube playlist metadata and all its videos (not limited to 100), does not require API key


Version published
Weekly downloads
13
decreased by-13.33%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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
  • Example response

License

MIT

Keywords

FAQs

Last updated on 02 Sep 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc