Youtube video description
$youtube video description is a function that retrieves the description of a YouTube video using its video ID.
This function is useful when you want to extract the existing description of a YouTube video without visiting the YouTube page.
Parameters
Video Id: This is the unique identifier for the YouTube video from which the description will be retrieved. The video ID is typically found in the video's URL.
Return Value
This function returns a string containing the description of the video as found on its YouTube page.
Example
connect to youtube("path/to/your/client secret.json") set(#video description,$youtube video description("dQw4w9WgXcQ"),"Global")
This script starts by establishing a connection to YouTube using the client secret file located at "path/to/your/client secret.json". Do replace "path/to/your/" with the actual path to your client secret file.
Then, it uses the "$youtube video description" function to fetch the description of the YouTube video with the ID "dQw4w9WgXcQ", and assigns it to a global variable named '#video description'.
The '#video description' variable can then be used in your scripts to work with the video's description. For instance, you might use it to copy the description to another video, to display the description in your program's UI, or to analyze the description for keywords.
Please note: The accuracy of this function's result depends on the user who uploaded the video providing a description and not subsequently changing or deleting it.