import mql from '@microlink/mql' const { data } = await mql('https://www.youtube.com/watch?v=9P6rdqiybaw', { video: true })
video
Type: <boolean>
Default: false
Default: false
Enables video source detection over the target url.
Some websites can be different output based on User Agent.
The video source URL detected will be in a browser-friendly format to be possible embedded it.
The video detection introduce some human readable fields as part of the payload: