Skip to content

Get direct download link of videos from xMegaDrive in the CLI.

License

Notifications You must be signed in to change notification settings

losparviero/xmega

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xmega.js

Get direct download link of videos from xMegaDrive in the CLI.


Usage

Without installing:

npx xmega

With install:

xmega

For use in a project

const { download } = require("xmega")

For use in a module

import { download } from "xmega"
Note: Direct download link provided is restricted to the current IP.

Install

npm i -g xmega

Methods

download() Generates direct download link

Params: [url]

await download(url)
    .then(console.log)
    .catch((error) => console.log(error))

Uninstall

npm uninstall xmega

License

AGPL-3.0 ©️ Zubin

About

Get direct download link of videos from xMegaDrive in the CLI.

Resources

License

Stars

Watchers

Forks