YouTube Video Summarizer
Pricing
$19.99/month + usage
YouTube Video Summarizer
Summarize YouTube videos instantly with this Apify YouTube Video Summarizer. Extract transcripts and generate concise summaries using AI. Perfect for research, content analysis, and quick insights without watching full videos. Fast, reliable, and easy to integrate into workflows.
Pricing
$19.99/month + usage
Rating
0.0
(0)
Developer

API Empire
Actor stats
0
Bookmarked
3
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
YouTube Video Summarizer - Fixed Version π§
This Apify actor extracts video metadata and generates AI-powered summaries from YouTube videos.
π¨ Recent Fixes & Features (October 2025)
Issues Resolved:
- β Bot Detection Bypass: Enhanced yt-dlp configuration with proper headers and user agents
- β Proxy Connection Timeouts: Improved proxy handling with intelligent fallback mechanisms
- β Multiple Extraction Strategies: Implemented 5 different extraction approaches
- β Better Error Handling: Clean logging with only relevant information
- β Azure OpenAI Integration: Pre-configured with your Azure OpenAI credentials
- β Smart Proxy Management: Follows Instagram scraper pattern with proper fallbacks
Key Improvements:
- π€ Azure OpenAI Pre-configured: Ready to generate summaries out of the box
- π Smart Proxy Fallback: User proxy β Residential proxy (3 retries) β Direct
- π§ͺ Local Testing Support: Uses hardcoded residential proxy for development
- π Clean Logging: Suppressed verbose yt-dlp errors, shows only relevant info
- π Production Ready: Cleaned up all test files, optimized for Apify deployment
Features
- Streams results live to the Dataset (one per URL)
- Proxy: DIRECT β USER (if provided) β RESIDENTIAL fallback on rejection; then sticks to it
- Retries + backoff; consistent output (
status+errorfields) - Set
OPENAI_API_KEYto enable summaries - Robust error handling and retry mechanisms
π Deployment Instructions
For Apify Platform:
- Upload the entire
youtube-video-summerizerfolder to your Apify actor - Ensure the Dockerfile and requirements.txt are properly configured
- Set up proxy configuration in the actor input (recommended: use Apify Proxy with RESIDENTIAL group)
- Add your OpenAI API key to the actor environment variables
Input Configuration:
{"urls": ["https://www.youtube.com/watch?v=VIDEO_ID"],"maxRetries": 3,"proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]}}
Environment Variables:
β Azure OpenAI (Pre-configured):
- The actor comes with Azure OpenAI pre-configured and ready to use
- Default endpoint:
https://amzautopilot002.openai.azure.com - Default deployment:
gpt-4o-4 - API version:
2023-12-01-preview
Override Options (Optional):
AZURE_OPENAI_ENDPOINT: Override the default Azure OpenAI endpointAZURE_OPENAI_API_KEY: Override the default Azure OpenAI API keyAZURE_OPENAI_DEPLOYMENT: Override the default deployment nameAZURE_OPENAI_API_VERSION: Override the default API versionOPENAI_API_KEY: Use regular OpenAI instead of Azure OpenAI
Platform Variables:
APIFY_PROXY_PASSWORD: Automatically provided by Apify platform
π Deployment
Ready for Apify Platform:
- Upload this entire folder to your Apify actor
- The actor is pre-configured with Azure OpenAI credentials
- Set up proxy configuration in the input (recommended: RESIDENTIAL)
- Deploy and run!
Local Testing:
- Automatically uses hardcoded residential proxy
- All Azure OpenAI features work out of the box
- Clean logging shows only relevant information
π Error Handling
The actor now provides more specific error messages:
- Bot Detection: "YouTube detected automated access. Please try again later or use different proxy settings."
- Connection Issues: "Connection timeout occurred. Please check your internet connection or proxy settings."
- Restricted Content: "Video is private, unavailable, or restricted."
- Age Restrictions: "Video is age-restricted and cannot be accessed."
π Retry Logic
The actor implements intelligent retry logic:
- Direct Connection: First attempt without proxy
- User Proxy: If configured, switches to user-specified proxy
- Residential Fallback: Automatically falls back to residential proxy on failures
- Multiple Strategies: Tries 5 different yt-dlp configurations
- Smart Delays: Implements exponential backoff with connection-aware delays
Build & Run
.actor/actor.jsonβ"dockerfile": "../Dockerfile","input": "./input_schema.json"apify runlocally, or Deploy & Run on Apify