Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

barotube

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barotube

In short, our module is a tool for extracting video and playlist information from the YouTube platform. Other than that, don't forget to generate the API key from our site. (:

  • 2.1.19
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-20%
Maintainers
1
Weekly downloads
 
Created
Source

barotube

Info

In short, our module is a tool for extracting video and playlist information from the YouTube platform. Other than that, don't forget to generate the API key from our site. (:

Install

npm install barotube

Usage

const Barotube = require('barotube');
const barotube = new Barotube("API KEY");

.searchVideos();

barotube.searchVideos('URL or search args', function(err, data) {
	if (err) throw err;
	console.log(data);
});
  • Results
[
   {
       title: '',
       videoId: '',
       url: '',
       duration: '',
       durationMs: 0,
       views: 0,
       author: {
           name: '',
           url: ''
       },
       thumbnail: ''
   },
   {
       title: '',
       videoId: '',
       url: '',
       duration: '',
       durationMs: 0,
       views: 0,
       author: {
           name: '',
           url: ''
       },
       thumbnail: ''
   },
   and 8 more...
]

.getPlaylist();

barotube.getPlaylist('only playlist URL or playlist ID', function(err, data) {
	if (err) throw err;
	console.log(data);
});
  • Results
[
  {
      id: '',
      url: '',
      title: '',
      videos_size: '',
      views: 0,
      last_updated: '',
      author: {
          id: '',
          name: '',
          avatar: '',
          url: ''
      }
  },
  videos: [
      {
          title: '',
          videoId: '',
          url: '',
          duration: '',
          durationMs: 0,
          views: 0,
          author: {
              name: '',
              url: ''
          },
          thumbnail: ''
 	},
 	and more...
  ]
]

Keywords

FAQs

Package last updated on 29 May 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc