GithubHelp home page GithubHelp logo

blackamda / song_video_dl Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 52 KB

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

License: GNU General Public License v3.0

JavaScript 100.00%

song_video_dl's Introduction

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 [email protected]

song_video_dl's People

Contributors

blackamda avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.