- Add cookies support in youtube.js service - Create extract-cookies.sh script for automatic cookie extraction - Add YOUTUBE_COOKIES_PATH environment variable - Update .env.example with cookies configuration - Add comprehensive documentation (YOUTUBE_COOKIES.md, COOKIES_QUICK_START.md) - Update .gitignore to exclude cookies files for security - Pass cookiesPath option through all download functions This fixes Sign in to confirm you're not a bot errors from YouTube. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
503 B
Plaintext
17 lines
503 B
Plaintext
# OpenAI API Key for Whisper transcription
|
|
OPENAI_API_KEY=your_openai_api_key_here
|
|
|
|
# Anthropic API Key for Claude Haiku translation (optional)
|
|
ANTHROPIC_API_KEY=your_anthropic_api_key_here
|
|
|
|
# Server port (optional, default: 3000)
|
|
PORT=3000
|
|
|
|
# Output directory (optional, default: ./output)
|
|
OUTPUT_DIR=./output
|
|
|
|
# YouTube cookies file path (optional, helps bypass bot detection)
|
|
# Run: bash scripts/extract-cookies.sh
|
|
# Then set the path to your cookies file:
|
|
YOUTUBE_COOKIES_PATH=./youtube-cookies.txt
|