2.0.0 • Published 7 months ago

mediafire-getlink v2.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

mediafire-getlink

Fork of mediafire-link which I initially made because the author didn't have a Github repository linked nor was it handling instant download links (memleak).

This package will return a direct download link where possible when passed a Mediafire URL.

I am actively using this in some of my projects so any bug I find will be fixed here.

Basic usage

const mfLink = require('mediafire-getlink')

The most basic example is as follows

const url = await mfLink('MEDIAFIRE LINK')

You can also modify the request config if you wish to use proxies (https://github.com/axios/axios#request-config)

const url = await mfLink('MEDIAFIRE LINK', {
    proxy: {
        protocol: 'http',
        host: '0.0.0.0',
        port: 1234,
        auth: {
            username: 'user',
            password: 'pass',
        }
    }
})
2.0.0

7 months ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago