1.0.2 • Published 2 years ago

anyviddl v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Any Video Downloader

AnyVidDL Logo

A Simple and Super Fast Video Downloader - Get download links fast and easy.

HOW TO INSTALL?

npm i anyviddl

Require to use AnyVidDL Function.

//CommonJS
const { getVidLink } = require('anyviddl');

SIMPLE USAGE

getVidLink()

//Using then()
getVidLink({
 link: 'https://youtu.be/HY3lNkHbpS0'
}).then((res)={
 console.log(res)
})

//Using Await
let res = await getVidLink({
 link: 'https://youtu.be/HY3lNkHbpS0'
})
console.log(res)

Sample Responses

Success Response

{
  API_Response: {
    status: 'OK',
    message: 'Successfully Uploaded to our Server and Converted!',
    link: 'https://file-downloader.net/d.php?h=57140768599'
  }
}

Error Response

//If link is invalid or no video_link provided
{
  API_Response: {
    status: 'ERROR',
    message: 'Please submit a valid video URL' 
  }
}

//If cannot convert the video
{
  API_Response: {
    status: 'ERROR',
    message: "We can't convert this video - try again."
  }
}

All Params

ParamsTypeExplanationSample
linkstringLink of the video you want to download."https://youtu.be/HY3lNkHbpS0"