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

@blackamda/song_video_dl

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blackamda/song_video_dl

This is a youtube song and video downloader based on y2mate.com

1.1.0
latest
Source
npm
Version published
Weekly downloads
2.3K
21.84%
Maintainers
1
Weekly downloads
 
Created
Source

Song Video Downloader - A Web Scrape NPM package of y2mate.com

This is a youtube song and video downloader based on y2mate.com. This project is based on Javascript.

Coded by: Black Amda

Installation

npm i @blackamda/song_video_dl

Usage

const svdl = require("@blackamda/song_video_dl")

Methods

svdl.download()

Code:

const svdl = require("@blackamda/song_video_dl")

const config = {
    type: 'video', // audio or video
    quality: 360, // Quality of the video or audio (kbps or p)
    server: 'en68' // This is optional ('en136', 'id4', 'en60', 'en61', 'en68')
}

const result = await svdl.download('https://www.youtube.com/watch?v=XUZaf-_jQOE', config)
console.log(result)

Result:

{
  "title": "Skeleton Meme Template",
  "thumb": "https://i.ytimg.com/vi/XUZaf-_jQOE/0.jpg",
  "size": "268.3 KB",
  "link": "https://dl151.y2mate.com/?file=......"
}

License

This project is protected by the GNU General Public License v3.0.

Disclaimer

Song Video Downloader name, we have nothing to do with the website officially. If any complains please contact via sl.amdakolla@gmail.com

Keywords

ytdl

FAQs

Package last updated on 04 Mar 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