Get video property from HTML markup
npm install metascraper-media-provider
metascraper-media-provider: Get specific video provider url (Facebook/Twitter/Vimeo/etc).
See our website for more information.
``bash`
$ npm install metascraper-media-provider --save
#### options
##### cacheDir
Type: string
It specifies cache based on file system to be used by youtube-dl.
##### retry
Type: number5
Default:
The maximum number of retries allowed to perform.
##### timeout
Type: number30000
Default:
The maximum time allowed to wait until considering the request as timed out.
##### args
Type: function({ url, flags }) => ({ url, flags })
Default:
It defines a function that will determine the arguments to be passed to youtube-dl:
`jsreferer:${url}
const args = ({ flags, url, retryCount }) => {
flags.addHeader = []``
return { url, flags }
}
metascraper-media-provider © Microlink, released under the MIT License.
Authored and maintained by Microlink with help from contributors.
> microlink.io · GitHub microlinkhq · X @microlinkhq