Socket
Socket
Sign inDemoInstall

scraper-yt

Package Overview
Dependencies
47
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    scraper-yt

A Youtube Downloader for Provider Yt1s


Version published
Maintainers
1
Created

Readme

Source

ytdownloader.js

Youtube Downloader - https://yt1s.io

Importing the Module (TS)

import Youtube from 'ytdownloader.js'

Importing the Module (JS)

const Youtube = require('ytdownloader.js')

Search Videos

await new Youtube().ytsearch("LSD - Genius")

Search and Downloading Videos

// MP3
await new Youtube().ytmp3("LSD - Genius", true)

// MP4
await new Youtube().ytmp4("LSD - Genius", true)

Download via URL

// MP3
await new Youtube().ytmp3("https://www.youtube.com/watch?v=iX66G5DzIQ4", false)

// MP4
await new Youtube().ytmp4("https://www.youtube.com/watch?v=iX66G5DzIQ4", false)

Response:

dl_link: string;
thumbnail: string;
title: string;
quality: string;
qualitys: string[];
url: string;
channel: string;
needSearch: boolean;

Keywords

FAQs

Last updated on 15 Mar 2022

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