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

@vreden/meta

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vreden/meta

A simple YouTube video downloader for audio and video formats.

  • 1.0.2
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
355
decreased by-36.49%
Maintainers
0
Weekly downloads
 
Created
Source

youtube_scraper fixed

A simple YouTube video downloader for audio and video formats.

Installation

You can install the package using npm:

npm install youtube_scraper

Usage

const { search, ytmp3, ytmp4 } = require('youtube_scraper');

Download Audio (MP3) 🎧

const url = 'https://www.youtube.com/watch?v=YOUR_VIDEO_ID';

ytmp3(url)
    .then(result => {
        if (result.status) {
            console.log('Download Link:', result.download);
            console.log('Metadata:', result.metadata);
        } else {
            console.error('Error:', result.result);
        }
    });

Download Video (MP4) 🗃️

const url = 'https://www.youtube.com/watch?v=YOUR_VIDEO_ID';

ytmp4(url)
    .then(result => {
        if (result.status) {
            console.log('Download Link:', result.download);
            console.log('Metadata:', result.metadata);
        } else {
            console.error('Error:', result.result);
        }
    });

Search Video 🍟

const query = 'your search term';

search(query)
    .then(result => {
        if (result.status) {
            console.log('Search Results:', result.results);
        } else {
            console.error('Error:', result.result);
        }
    });

Keywords

FAQs

Package last updated on 17 Nov 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