Wondering what’s next for npm?Check out our public roadmap! »

redgif-dl

2.2.0 • Public • Published

redgif-dl

Rip any video from redgif with sound asyncrnously

Documentation

function dlRedGif(url, file_name, ?output_path = "", ?verbose = false)

  • Parameters:
    • url — The redgif video you want too download
    • file_name — The output file name (automatically append .mp4)
    • output_path — (optional) The output path (optional, if none is provided the current working directory is going to be used)
    • verbose — (optional) Decide wether or not the module will give a verbose output
  • Example:
const dlRedGif = require("redgif-dl")
 
dlRedGif("https://www.redgifs.com/watch/newdrearyblackwidowspider", "riley reid blow job", "./downloads", true)
    .then((path) => {
        console.log(`The high quality video is located at ${path.HQ}`);
        console.log(`The low quality video is located at ${path.LQ}`);
    })
    .catch((reason) => console.error(reason));
  • Returns: An promise containing the low quality and high quality video path

Install

npm i redgif-dl

DownloadsWeekly Downloads

37

Version

2.2.0

License

ISC

Unpacked Size

6.01 kB

Total Files

4

Last publish

Collaborators

  • avatar