v3.0.1 - YouTube Support Fixed π₯
π Bug Fixes: YouTube Now Works!
Fixed YouTube support by switching to the more reliable yt-dlp tool.
β What's Fixed
YouTube Downloads Now Work
- Switched from ytdl-core to yt-dlp (command-line tool)
- Much more reliable - yt-dlp is actively maintained and bypasses YouTube's restrictions
- Tested successfully with 45-minute video
Smart Two-Stage Optimization
- Stage 1: 1.2x speed optimization
- Stage 2: If still >24MB, apply Opus compression
- Automatically stays under Whisper API's 25MB limit
Package Size Reduced
- Removed heavy ytdl-core dependency
- 2.0 MB β 0.77 MB (62% smaller!)
- No npm dependencies for YouTube (uses system yt-dlp)
π Real Test Results
45-minute YouTube video:
π₯ Downloaded: 66.7 MB (audio-only)
β‘ After speed: 41.6 MB (-37.5%)
π΅ After Opus: 22.2 MB (under 24MB limit β
)
β
Transcribed successfully!
π§ Prerequisites Update
For YouTube support, install yt-dlp:
# macOS
brew install yt-dlp
# Ubuntu/Debian
sudo apt install yt-dlp
# Windows
winget install yt-dlp
# Or with pip
pip install yt-dlpπ‘ Usage
# YouTube video
npx @illyism/transcribe@latest https://www.youtube.com/watch?v=VIDEO_ID
# Local files still work the same
npx @illyism/transcribe@latest video.mp4π Links
- π¦ NPM Package
- π Documentation
- π Report Issues
Full Changelog: v3.0.0...v3.0.1