openload-downloader

1.0.0 • Public • Published

openload-downloader

This module helps you download openload videos to your server easily using node.js

Installation

This module can be installed via npm:

$ npm install --save openload-downloader

Usage

var downloader = require("openload-downloader");

Functions

downloader.download(videoURL, outputFile)

  • videoURL: URL of the openload/oload video
  • outputFile: Output file path
var downloader = require("openload-downloader");
 
(async function() {
  await downloader.download("https://oload.tv/embed/<VIDEO-ID>", "dummy.mp4");
  console.log("Download completed");
})();

or if you want to use it with .then() instead of async/await:

var downloader = require("openload-downloader");
 
downloader.download("https://oload.tv/f/<VIDEO-ID>", "dummy.mp4").then(() => {
  console.log("Download completed");
});

Package Sidebar

Install

npm i openload-downloader

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

6.04 kB

Total Files

5

Last publish

Collaborators

  • furkaninanc