YouTube
Copy page
Learn how to manage YouTube sources in Inkeep
Overview
A YouTube source allows Inkeep to ingest content from YouTube channels. When you configure a YouTube source, Inkeep will systematically discover and index content from the specified YouTube channel.
Only publicly available YouTube content can be ingested. Private or unlisted videos will not be accessible. This is a limitation of the YouTube API.
Configuration Fields
URL
The URL field determines which type of content will be ingested from the YouTube channel. The URL format controls whether videos, shorts, or both are included:
URL Formats:
https://www.youtube.com/@{channel}/videos
- Videos only: Ingests only regular videos from the channelhttps://www.youtube.com/@{channel}/shorts
- Shorts only: Ingests only YouTube Shorts from the channelhttps://www.youtube.com/@{channel}
- All content: Ingests both videos and shorts from the channel
Cut Off Date
Cut Off Date specifies the earliest video publication date to include in the ingestion. Videos published before this date will be excluded from the source.
Example: Setting the cut off date to 2023-01-01
will only ingest videos published on or after January 1, 2023.
Max Video Duration
Max Video Duration sets the maximum length (in minutes) for videos to be ingested. Videos longer than this duration will be excluded from the source.
Example: Setting max duration to 30
will only ingest videos that are 30 minutes or shorter.
Filtering
URL Matching Patterns
URL Include Patterns allow you to specify patterns to only include certain videos based on their URLs.
URL Exclude Patterns allow you to specify patterns to exclude certain videos based on their URLs.
Pattern Types:
- Exact Match: Includes videos with URLs that exactly match the specified string
- Regex: Searches for the pattern in the video URL
Title Matching Patterns
Title Include Patterns allow you to specify patterns to only include videos with specific titles.
Title Exclude Patterns allow you to exclude videos based on their titles.
Pattern Types:
- Exact Match: Matches videos with titles that exactly match the specified string
- Regex: Searches for the pattern in the video title