metascraper-media-provider: Get specific video provider url (Facebook/Twitter/Vimeo/etc).
See our website for more information.
$ npm install metascraper-media-provider --save
Type: string
It specifies cache based on file system to be used by youtube-dl.
Type: function
It will be called to determinate if a proxy should be used for resolving the next request URL.
const getProxy = ({ url, retryCount }) => {
if (retryCount === 0) return false
return 'http://user:pwd@proxy:8001'
}
Type: function
It receives as input the output from .getProxy
. The output will be passed to .gotOpts
.
Type: object
Any option provided here will passed to got#options.
Type: number
Default: 5
The maximum number of retries allowed to perform.
Type: number
Default: 30000
The maximum time allowed to wait until considering the request as timed out.
metascraper-media-provider © Microlink, released under the MIT License.
Authored and maintained by Microlink with help from contributors.
microlink.io · GitHub microlinkhq · X @microlinkhq