Skip to main content

Get Videos

Retrieves a list of videos from a YouTube playlist.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs

  • Video URL - The URL of the YouTube playlist.

Options

  • Get From - Specifies the source for retrieving videos. Currently only supports:
    • Playlist
    • Default is Playlist.

Output

  • Response - A JSON object containing the playlist title and an array of video URLs.

How It Works

The Get Videos node retrieves information about videos in a YouTube playlist. When executed, the node:

  1. Validates the required input (Playlist URL)
  2. Creates a Playlist object using the provided URL
  3. Extracts the playlist title and video URLs
  4. Returns the information as a JSON object

Requirements

  • A valid YouTube playlist URL
  • Internet connection to access YouTube

Error Handling

The node will return specific errors in the following cases:

  • Empty Video URL
  • Invalid YouTube playlist URL
  • Playlist not found
  • Network connectivity issues
  • YouTube access restrictions

Usage Notes

  • The Video URL should be a full YouTube playlist URL (e.g., https://www.youtube.com/playlist?list=PLAYLIST_ID)
  • The node currently only supports retrieving videos from playlists
  • The output contains the playlist title and an array of video URLs
  • Each video URL in the array is a full YouTube watch URL
  • The response is formatted as a JSON object for easy parsing
  • This node is useful for processing all videos in a playlist
  • Future versions may support retrieving videos from channels
  • The number of videos retrieved depends on the playlist size