feat(sources): add YouTube search connector (yt-dlp) - #177
Open
matthewdonsemail-lab wants to merge 6 commits into
Open
feat(sources): add YouTube search connector (yt-dlp)#177matthewdonsemail-lab wants to merge 6 commits into
matthewdonsemail-lab wants to merge 6 commits into
Conversation
added 3 commits
August 13, 2026 14:24
- Import YouTubeSearchConnector - Add to _REGISTRY dict with kind: youtube_search The connector code was merged but the registry entry was missing. This fixes the 'unknown source kind' error when polling YouTube feeds.
Adds YouTube search capability to OpenMagpie using yt-dlp library. New files: - apps/core/sources/connectors/youtube/__init__.py - apps/core/sources/connectors/youtube/client.py (YtDlpClient) - apps/core/sources/connectors/youtube/connector.py (YouTubeSearchConnector) - apps/core/sources/connectors/youtube/errors.py (YouTubeError taxonomy) - apps/core/sources/connectors/youtube/payloads.py (NewVideoPayload) - RESEARCH/YT_DLP_OPENMAGPIE_INTEGRATION.md Modified: - packages/openmagpie-schema/src/openmagpie_schema/configs.py - Added YouTubeSearchSourceSpec - Added to _BuiltinSourceSpec union - apps/core/pyproject.toml - Added yt-dlp>=2026.07.04 dependency - apps/core/sources/connectors/__init__.py - Exported YouTubeSearchConnector Features: - Public YouTube search via ytsearch<N>:<query> URI scheme - No authentication required for public content - Error taxonomy with retry semantics - Watermark-based deduplication - Metrics extraction (views, likes, comments) - Thumbnail media attachment - Duration tracking Design follows existing Twitter connector patterns for consistency. Signed-off-by: Inference Ops <7b4bd76efa854d8ae6847735c3c888594039cab6a498c249f289d78a1c0e65ca@inferencesaver.communities.buzz.xyz> Co-authored-by: Inference Ops <7b4bd76efa854d8ae6847735c3c888594039cab6a498c249f289d78a1c0e65ca@inferencesaver.communities.buzz.xyz>
Signed-off-by: Inference Ops <7b4bd76efa854d8ae6847735c3c888594039cab6a498c249f289d78a1c0e65ca@inferencesaver.communities.buzz.xyz> Co-authored-by: Inference Ops <7b4bd76efa854d8ae6847735c3c888594039cab6a498c249f289d78a1c0e65ca@inferencesaver.communities.buzz.xyz>
matthewdonsemail-lab
force-pushed
the
feat/youtube-search-connector
branch
from
August 13, 2026 07:26
6781b33 to
44838c5
Compare
added 3 commits
August 13, 2026 14:31
Signed-off-by: Inference Ops <7b4bd76efa854d8ae6847735c3c888594039cab6a498c249f289d78a1c0e65ca@inferencesaver.communities.buzz.xyz> Co-authored-by: Inference Ops <7b4bd76efa854d8ae6847735c3c888594039cab6a498c249f289d78a1c0e65ca@inferencesaver.communities.buzz.xyz>
Signed-off-by: Inference Ops <7b4bd76efa854d8ae6847735c3c888594039cab6a498c249f289d78a1c0e65ca@inferencesaver.communities.buzz.xyz> Co-authored-by: Inference Ops <7b4bd76efa854d8ae6847735c3c888594039cab6a498c249f289d78a1c0e65ca@inferencesaver.communities.buzz.xyz>
Signed-off-by: Inference Ops <7b4bd76efa854d8ae6847735c3c888594039cab6a498c249f289d78a1c0e65ca@inferencesaver.communities.buzz.xyz> Co-authored-by: Inference Ops <7b4bd76efa854d8ae6847735c3c888594039cab6a498c249f289d78a1c0e65ca@inferencesaver.communities.buzz.xyz>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds YouTube search capability to OpenMagpie using yt-dlp library, following the same patterns as the Twitter connector.
What's Changed
New Files
apps/core/sources/connectors/youtube/__init__.pyapps/core/sources/connectors/youtube/client.py(YtDlpClient wrapper)apps/core/sources/connectors/youtube/connector.py(YouTubeSearchConnector)apps/core/sources/connectors/youtube/errors.py(YouTubeError taxonomy)apps/core/sources/connectors/youtube/payloads.py(NewVideoPayload)Modified Files
packages/openmagpie-schema/src/openmagpie_schema/configs.py- Added YouTubeSearchSourceSpecapps/core/pyproject.toml- Added yt-dlp>=2026.07.04 dependencyapps/core/sources/connectors/__init__.py- Exported YouTubeSearchConnectorDesign Decisions
ytsearch<N>:<query>URI scheme - no authentication required for public contentTesting
Live search verified:
Full specification in:
RESEARCH/YT_DLP_OPENMAGPIE_INTEGRATION.mdThis PR stacks on top of PR #175 (X/Twitter connector). Merge that first.