5.4.0 • Published 5 years ago

@plaa/metascraper-media-provider v5.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

metascraper-media-provider

npm Dependency Status

Get specific video provider url (Facebook/Twitter/Vimeo/etc).

Install

$ npm install metascraper-media-provider --save

Usage

.constructor(options)

options

cacheDir

Type: string

It specifies cache based on file system to be used by youtube-dl.

onError

Type: function

A function to be called when something wrong happens.

It will receive error and url.

proxies

Type: array

When it is specified, a proxy will be used for each of the requests using luminati-tunnel.

userAgent

Type: string

It specifies a custom user agent.

License

metascraper-media-provider © microlink.io, Released under the MIT License. Authored and maintained by microlink.io with help from contributors.

microlink.io · GitHub @microlink.io · Twitter @microlinkhq