URL Processing: Parse YouTube videos, shorts, and channels from various URL formats
youtube.com/watch?v=VIDEO_ID
youtu.be/VIDEO_ID
youtube.com/shorts/VIDEO_ID
youtube.com/channel/UCXXXXXX
Monetization Detection: Returns monetization status for each URL
FULL - Fully monetized
PARTIAL - Partially monetized (video only)
NONE - Not monetized
UNKNOWN - Cannot determine
Concurrent Processing: Process up to 10 URLs in parallel (configurable)
- Rate limited to 10 requests/second to protect backend
- Full jitter backoff for retries
Mode Filtering: Optionally restrict to only videos or only channels
- Returns
MODE_MISMATCH error for non-matching URLs
Run Summary: OUTPUT record with statistics written to key-value store
- Counts by type, monetization level, and error code
- Abort handling with reason tracking
Robustness: Production-grade error handling
- 30s fetch timeout with automatic retries
- Input validation (max 10,000 URLs, max 2048 chars each)
- Sanitized logging (no sensitive data exposed)
- Graceful abort on authentication errors