New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yt-miner

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yt-miner

A powerful tool to mine video data from YouTube search results

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by16.67%
Maintainers
0
Weekly downloads
 
Created
Source

YT-Miner

A powerful and efficient tool to mine video data from YouTube search results. This library allows you to easily extract valuable video information from YouTube search results for any given query.

Features

  • Mine video titles and URLs from YouTube search results
  • Configurable maximum number of videos to mine
  • Option to save results to a JSON file
  • Headless mode support
  • Verbose logging option

Installation

npm install yt-miner

Usage

import { mineYouTube, MiningOptions } from 'yt-miner';

const options: MiningOptions = {
    searchQuery: 'travel documentaries',
    maxVideos: 100,
    outputFile: 'travel_documentaries.json',
    headless: false,
    verbose: true
};

mineYouTube(options).then(results => {
    console.log(`Mining completed. Total videos found: ${results.length}`);
}).catch(error => {
    console.error('An error occurred:', error);
});

License

Keywords

FAQs

Package last updated on 28 Jul 2024

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