YouTube Video Summarizer avatar
YouTube Video Summarizer

Pricing

$24.99/month + usage

Go to Apify Store
YouTube Video Summarizer

YouTube Video Summarizer

Summarize YouTube videos quickly with the YouTube Video Summarizer. Generate concise, timestamped summaries, key points, and chapter-style outlines from any video URL. Ideal for research, note-taking, SEO, and accessibility. Fast, accurate, and easy to integrate. Exports in TXT JSON CSV; API ready .

Pricing

$24.99/month + usage

Rating

0.0

(0)

Developer

Scrapier

Scrapier

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

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:

  1. βœ… Bot Detection Bypass: Enhanced yt-dlp configuration with proper headers and user agents
  2. βœ… Proxy Connection Timeouts: Improved proxy handling with intelligent fallback mechanisms
  3. βœ… Multiple Extraction Strategies: Implemented 5 different extraction approaches
  4. βœ… Better Error Handling: Clean logging with only relevant information
  5. βœ… Azure OpenAI Integration: Pre-configured with your Azure OpenAI credentials
  6. βœ… 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 + error fields)
  • Set OPENAI_API_KEY to enable summaries
  • Robust error handling and retry mechanisms

πŸš€ Deployment Instructions

For Apify Platform:

  1. Upload the entire youtube-video-summerizer folder to your Apify actor
  2. Ensure the Dockerfile and requirements.txt are properly configured
  3. Set up proxy configuration in the actor input (recommended: use Apify Proxy with RESIDENTIAL group)
  4. 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 endpoint
  • AZURE_OPENAI_API_KEY: Override the default Azure OpenAI API key
  • AZURE_OPENAI_DEPLOYMENT: Override the default deployment name
  • AZURE_OPENAI_API_VERSION: Override the default API version
  • OPENAI_API_KEY: Use regular OpenAI instead of Azure OpenAI

Platform Variables:

  • APIFY_PROXY_PASSWORD: Automatically provided by Apify platform

πŸš€ Deployment

Ready for Apify Platform:

  1. Upload this entire folder to your Apify actor
  2. The actor is pre-configured with Azure OpenAI credentials
  3. Set up proxy configuration in the input (recommended: RESIDENTIAL)
  4. 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:

  1. Direct Connection: First attempt without proxy
  2. User Proxy: If configured, switches to user-specified proxy
  3. Residential Fallback: Automatically falls back to residential proxy on failures
  4. Multiple Strategies: Tries 5 different yt-dlp configurations
  5. Smart Delays: Implements exponential backoff with connection-aware delays

Build & Run

  • .actor/actor.json β†’ "dockerfile": "../Dockerfile", "input": "./input_schema.json"
  • apify run locally, or Deploy & Run on Apify