Basic function to get data from a YouTube url or ID.
Example
const video = await play.video_basic_info('youtube video url')const res = ... // Any https package get function.const video = await play.video_basic_info(res.body, { htmldata : true }) Copy
const video = await play.video_basic_info('youtube video url')const res = ... // Any https package get function.const video = await play.video_basic_info(res.body, { htmldata : true })
YouTube url or ID or html body data
Video Info Options
boolean
Video Basic Info InfoData.
Basic function to get data from a YouTube url or ID.
Example