youtube-fetch-info

Retrieve YouTube video and playlist metadata via the Data API v3.

Updated Jul 1, 2024
One-click install
npx skills add https://github.com/yongseongkim/sunrei --skill youtube-fetch-info
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-fetch-info
Source: https://github.com/yongseongkim/sunrei/tree/main/.claude/skills/youtube-fetch-info
Command: npx skills add https://github.com/yongseongkim/sunrei --skill youtube-fetch-info

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the retrieval of metadata for YouTube videos and playlists, streamlining content analysis and processing workflows.

Core Features & Use Cases

  • Metadata Retrieval: Fetches titles, descriptions, channel information, durations, and more for individual videos or entire playlists.
  • URL Parsing: Intelligently identifies video or playlist IDs from various YouTube URL formats.
  • User-Friendly Output: Presents fetched information clearly and allows for user selection of specific videos within a playlist for further processing.
  • Use Case: Quickly gather all essential details for a YouTube tutorial video to include in a project report or to prepare for subsequent analysis steps like transcript extraction.

Quick Start

Fetch the details for the YouTube video at https://www.youtube.com/watch?v=dQw4w9WgXcQ.

Frequently Asked Questions about youtube-fetch-info

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch YouTube video metadata like titles and descriptions using a URL?

To fetch YouTube video metadata, parse the video URL to extract the ID and call the YouTube Data API v3 to retrieve titles, descriptions, channel information, and content details.

Can I retrieve all video details from a YouTube playlist automatically?

Yes, you can retrieve YouTube playlist video details by parsing the playlist URL and using the YouTube Data API v3, which handles pagination to fetch all items within the playlist.

Do I need a YouTube API key to extract video information from URLs?

Yes, extracting YouTube video information requires a YouTube Data API v3 key configured in your environment to authenticate requests and retrieve metadata successfully.

What YouTube URL formats are supported for extracting video IDs?

The Skill intelligently parses various YouTube URL formats to identify video or playlist IDs, allowing you to extract metadata regardless of the specific link structure.

How do I get the duration of a YouTube video for content analysis?

You can get the duration of a YouTube video by fetching its content details through the YouTube Data API v3, which returns the exact length alongside other video metadata.

Are there limitations when fetching metadata for large YouTube playlists?

When fetching metadata for large YouTube playlists, the Skill handles pagination automatically, but you may encounter standard YouTube Data API v3 quota limits during the retrieval process.